Skip to content

Speed up FuzzyJobFinder - #9719

Draft
jcristau wants to merge 1 commit into
mozilla:masterfrom
jcristau:faster-add-new-jobs
Draft

Speed up FuzzyJobFinder#9719
jcristau wants to merge 1 commit into
mozilla:masterfrom
jcristau:faster-add-new-jobs

Conversation

@jcristau

Copy link
Copy Markdown
Contributor

Memoize the job list and fuse index, don't sort on every render, and use a set instead of an array to test inclusion.

And more importantly, cap the number of displayed task labels: each one is an DOM node and rendering tens of thousands takes forever, freezing the UI. Users can use the search box to narrow down the list.

Memoize the job list and fuse index, don't sort on every render, and use
a set instead of an array to test inclusion.

And more importantly, cap the number of displayed task labels: each one
is an <option> DOM node and rendering tens of thousands takes forever,
freezing the UI.  Users can use the search box to narrow down the list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant