RESOLVED FIXED 149682
Web Inspector: Thousands of timers fire after switching to JavaScript and Events timeline
https://bugs.webkit.org/show_bug.cgi?id=149682
Summary Web Inspector: Thousands of timers fire after switching to JavaScript and Eve...
Joseph Pecoraro
Reported 2015-09-30 15:48:10 PDT
* SUMMARY Thousands of timers fire after switching to JavaScript and Events timeline. The UI is slow and frequently unresponsive while interacting with the timeline while these timers fire. For instance scroll synchronization (which uses timers) doesn't get synchronized until all of the previously queued timers are exhausted. That can take 30+ seconds for a large profile. * STEPS TO REPRODUCE 1. Inspect apple.com 2. Timeline tab 3. Reload 4. Click "JavaScript & Events" => try to scroll the data grid after it shows up * NOTES - Many many TreeElement onchange events spawned by the "status" of the GeneralTreeElement changing. Seems we don't even need to trigger a treeOutline.onchange for that.
Attachments
[PATCH] Proposed Fix (2.42 KB, patch)
2015-09-30 16:05 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2015-09-30 15:48:29 PDT
Joseph Pecoraro
Comment 2 2015-09-30 16:05:47 PDT
Created attachment 262200 [details] [PATCH] Proposed Fix
Timothy Hatcher
Comment 3 2015-09-30 16:14:22 PDT
Comment on attachment 262200 [details] [PATCH] Proposed Fix Do the close status elements still work? I think I added these to make those close elements work.
Joseph Pecoraro
Comment 4 2015-09-30 16:42:16 PDT
(In reply to comment #3) > Comment on attachment 262200 [details] > [PATCH] Proposed Fix > > Do the close status elements still work? I think I added these to make those > close elements work. Yes, I tested this a bunch but never encountered an issue. Wherever there is a goto arrow, loading a content view produces a close button to go back. I tested in the overview timeline, network timeline and tab, and JS & Events timeline.
WebKit Commit Bot
Comment 5 2015-09-30 17:26:38 PDT
Comment on attachment 262200 [details] [PATCH] Proposed Fix Clearing flags on attachment: 262200 Committed r190377: <http://trac.webkit.org/changeset/190377>
WebKit Commit Bot
Comment 6 2015-09-30 17:26:42 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.