Bug 135949

Summary: Web Inspector: Avoid re-binding the same function over and over
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Joseph Pecoraro
Reported 2014-08-14 12:59:23 PDT
* SUMMARY During an auto capturing of pages, especially when doing the dead timeout check, we may be re-binding the same function hundreds of times. We should bind it once, it never changes. Possible performance issue.
Attachments
[PATCH] Proposed Fix (2.96 KB, patch)
2014-08-14 13:00 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2014-08-14 12:59:32 PDT
Joseph Pecoraro
Comment 2 2014-08-14 13:00:51 PDT
Created attachment 236612 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 3 2014-08-14 13:01:47 PDT
For example reloading icloud.com this would happen over a thousand times.
WebKit Commit Bot
Comment 4 2014-08-14 14:34:51 PDT
Comment on attachment 236612 [details] [PATCH] Proposed Fix Clearing flags on attachment: 236612 Committed r172606: <http://trac.webkit.org/changeset/172606>
WebKit Commit Bot
Comment 5 2014-08-14 14:34:53 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.