RESOLVED FIXED 136015
Web Inspector: Improve performance of selection range changes viewing Scripts timeline
https://bugs.webkit.org/show_bug.cgi?id=136015
Summary Web Inspector: Improve performance of selection range changes viewing Scripts...
Joseph Pecoraro
Reported 2014-08-16 00:01:33 PDT
* SUMMARY Improve performance of selection range changes viewing Scripts timeline. Whenever a selection range changes, we update all the nodes and mark them as needing a refresh. However, we only need to refresh an element if the new selection range changed the cross-section of that particular node. For example, if the selection range was showing the entire node, and is still showing the entire node, we don't need to refresh. * STEPS TO REPRODUCE 1. Inspect iCloud.com 2. Show Timelines and Reload 3. Select Scripts timeline 4. Select a time range with a lot of scripts 5. Scrub / expand / collapse / change the time range selection => poor performance * NOTES We do still want to support "sub-event ranges". If there is a long script, you should be able to put a selection range for only part of that script evaluation and see only the Profile Nodes for that cross section.
Attachments
[PATCH] Proposed Fix (8.87 KB, patch)
2014-08-16 00:04 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2014-08-16 00:02:04 PDT
Joseph Pecoraro
Comment 2 2014-08-16 00:04:29 PDT
Created attachment 236703 [details] [PATCH] Proposed Fix
Timothy Hatcher
Comment 3 2014-08-16 01:53:14 PDT
Comment on attachment 236703 [details] [PATCH] Proposed Fix Nice!
WebKit Commit Bot
Comment 4 2014-08-16 02:25:43 PDT
Comment on attachment 236703 [details] [PATCH] Proposed Fix Clearing flags on attachment: 236703 Committed r172689: <http://trac.webkit.org/changeset/172689>
WebKit Commit Bot
Comment 5 2014-08-16 02:25:45 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.