Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Issue 23533037: FlameChart: speed up bars drawing procedure. (Closed)

Created:
7 years, 3 months ago by loislo
Modified:
7 years, 3 months ago
Reviewers:
yurys
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

FlameChart: speed up bars drawing procedure. It used to switch fillStyle for every bar. (N times) With new implementation it will switch fillStyle K times where K is the number of functions by drawing all the bars for one color in a sequence. BUG=none R=yurys@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157451

Patch Set 1 #

Patch Set 2 : unnecessary variable was removed #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -16 lines) Patch
M Source/devtools/front_end/FlameChart.js View 1 9 chunks +40 lines, -16 lines 4 comments Download

Messages

Total messages: 4 (0 generated)
loislo
7 years, 3 months ago (2013-09-05 06:04:19 UTC) #1
yurys
lgtm https://codereview.chromium.org/23533037/diff/3001/Source/devtools/front_end/FlameChart.js File Source/devtools/front_end/FlameChart.js (right): https://codereview.chromium.org/23533037/diff/3001/Source/devtools/front_end/FlameChart.js#newcode319 Source/devtools/front_end/FlameChart.js:319: var colorIndexEntryChains = []; Should we specify the ...
7 years, 3 months ago (2013-09-05 11:43:25 UTC) #2
loislo
https://codereview.chromium.org/23533037/diff/3001/Source/devtools/front_end/FlameChart.js File Source/devtools/front_end/FlameChart.js (right): https://codereview.chromium.org/23533037/diff/3001/Source/devtools/front_end/FlameChart.js#newcode319 Source/devtools/front_end/FlameChart.js:319: var colorIndexEntryChains = []; On 2013/09/05 11:43:25, Yury Semikhatsky ...
7 years, 3 months ago (2013-09-06 08:15:56 UTC) #3
loislo
7 years, 3 months ago (2013-09-09 11:53:30 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r157451 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698