Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Blessing <drew@blessing.io>2018-10-18 03:03:15 +0300
committerDrew Blessing <drew@blessing.io>2018-10-31 23:50:30 +0300
commit409f2f4dd2888f88df2293466c37c768b94068e5 (patch)
treec8061f8135e6657d7a7185f0f56e5757b4c5f0a0 /app/assets/javascripts/toggle_buttons.js
parent43463869c883c7972ecc03500ab35325eede7a01 (diff)
Improve performance of tree rendering in repositories with lots of items
Rails is slow to generate paths dynamically especially when called hundreds/thousands of times. Also, rendering many partials hundreds of times can be slower. This change reduces the number of partials rendered and introduces two fast path methods to speed up path generation.
Diffstat (limited to 'app/assets/javascripts/toggle_buttons.js')
0 files changed, 0 insertions, 0 deletions