Bug 135406

Summary: Web Inspector: Only compute full ProfileNode times if needed
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
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

Description Joseph Pecoraro 2014-07-29 20:33:14 PDT
* SUMMARY
Profiling the timeline a lot of time was spent inside ProfileNode computing each profile node's time information. Unfortunately this information is only used by Legacy Profiler views, and not used at all in the new Timeline view, so the computation is a complete waste.

We should only compute this information if needed.
Comment 1 Radar WebKit Bug Importer 2014-07-29 20:33:22 PDT
<rdar://problem/17852395>
Comment 2 Joseph Pecoraro 2014-07-29 20:35:49 PDT
Created attachment 235727 [details]
[PATCH] Proposed Fix
Comment 3 Timothy Hatcher 2014-07-29 20:38:11 PDT
Comment on attachment 235727 [details]
[PATCH] Proposed Fix

There is no clients if these getters! It was just over engineering of the API on my part before I added the time range computation. I see no harm keeping them as lazy getters though.
Comment 4 WebKit Commit Bot 2014-07-29 21:17:48 PDT
Comment on attachment 235727 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 235727

Committed r171787: <http://trac.webkit.org/changeset/171787>
Comment 5 WebKit Commit Bot 2014-07-29 21:17:51 PDT
All reviewed patches have been landed.  Closing bug.