Skip to content
Snippets Groups Projects

Improved ref switcher dropdown performance

Merged Phil Hughes requested to merge ref-switcher-perf into master

What does this MR do?

Removes jQuery creating elements, instead uses vanilla JS to create elements. This increase the performance significantly, previously with ~500 branches render time was approx. 30ms, with this change it dropped down to approx. 5ms.

The JSON now returns a maximum of 100 branches & 100 tags. The user can then search for more if they require.

What are the relevant issue numbers?

Closes #18202 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading