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

Method list filter is crazy slow #12

Open
mraleph opened this issue Feb 11, 2014 · 1 comment
Open

Method list filter is crazy slow #12

mraleph opened this issue Feb 11, 2014 · 1 comment
Assignees
Labels

Comments

@mraleph
Copy link
Owner

mraleph commented Feb 11, 2014

Reported by @rsturgell

Looking at a list of ~2000 compiles, it can take multiple seconds per keypress to filter the methods! That should be instant - must be something funny going on here.

@mraleph mraleph self-assigned this Feb 11, 2014
@mraleph mraleph added the bug label Feb 11, 2014
@mraleph
Copy link
Owner Author

mraleph commented Feb 11, 2014

I will look into this first time next slice of work. I think what happens here is: a) we are firing change event for every added character (should use delay instead) b) when filtering by sources we use inefficient split-line source representation.

Additional burden might be coming from the list rendering itself as it is done by Polymer. Previously I was hand rendering DOM for this list as it was slow to render is using declarative data binding. Have to profile and see if it again the case.

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

No branches or pull requests

1 participant