mraleph / irhydra

Tool for displaying IR used by V8 and Dart VM optimizing compilers
Apache License 2.0
433 stars 32 forks source link

Method list filter is crazy slow #12

Open mraleph opened 10 years ago

mraleph commented 10 years ago

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 commented 10 years ago

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.