Bug 112264

Summary: Web Inspector: Flame Chart. Rewrite drawing procedure for better performance.
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch yurys: review+

Ilya Tikhonovsky
Reported 2013-03-13 09:15:25 PDT
The current implementation is slow and produces garbage. The new one calculates almost everything only once.
Attachments
Patch (14.64 KB, patch)
2013-03-13 09:26 PDT, Ilya Tikhonovsky
yurys: review+
Ilya Tikhonovsky
Comment 1 2013-03-13 09:26:13 PDT
Yury Semikhatsky
Comment 2 2013-03-14 00:32:57 PDT
Comment on attachment 192936 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=192936&action=review > Source/WebCore/inspector/front-end/FlameChart.js:87 > + var startTimes = new Float32Array(nodeCount); Does it make any difference compared to new Array(nodeCount) ? > Source/WebCore/inspector/front-end/FlameChart.js:94 > + function appendReversedArray(toArray, fromArray) { style: { on next line.
Ilya Tikhonovsky
Comment 3 2013-03-14 00:40:37 PDT
Note You need to log in before you can comment on or make changes to this bug.