Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance of large option lists #1105

Closed

Conversation

StefanH
Copy link

@StefanH StefanH commented Jul 8, 2016

I've noticed large option lists in selects cause the browser to timeout when rendering selectize.
Detaching the input, then detaching the children from it,
then re-attaching the input dramatically improves performance.

I've noticed large option lists in selects cause the browser to timeout when rendering selectize. 
Detaching the input, then detaching the children from it, 
then re-attaching the input dramatically improves performance.
@joallard joallard added this to the 0.12.3 milestone Jul 8, 2016
@joallard
Copy link
Member

joallard commented Jul 20, 2016

Thanks for the patch.

So I've tried this out with a new example in the performance demos and a profiler open. I see no difference with a select with 12k options. Firefox is 5.5s -> 6s and Chrome 51 2.5s -> 2.5s

Would you try branch pr-1105 at examples/performance.html, 2nd example, and figure out if there's a way to test this? Thanks!

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2021

This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants