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

Issue 11412125: Add parallel recompilation time to histogram and plot execution pause times. (Closed)

Created:
8 years, 1 month ago by Yang
Modified:
8 years, 1 month ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Add parallel recompilation time to histogram and plot execution pause times. BUG= Committed: https://code.google.com/p/v8/source/detail?r=13036

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : implement range exclusion #

Patch Set 10 : moar timers #

Total comments: 12

Patch Set 11 : make new counters non-histograms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+424 lines, -24 lines) Patch
M src/api.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +13 lines, -1 line 0 comments Download
M src/counters.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 1 chunk +7 lines, -7 lines 0 comments Download
M src/log.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +27 lines, -0 lines 0 comments Download
M src/log.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +25 lines, -2 lines 0 comments Download
M src/log-utils.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/optimizing-compiler-thread.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M src/profile-generator-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/v8-counters.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M src/v8globals.h View 1 chunk +1 line, -1 line 0 comments Download
M src/vm-state-inl.h View 1 chunk +2 lines, -2 lines 0 comments Download
A + tools/plot-timer-events View 1 chunk +4 lines, -5 lines 0 comments Download
A tools/plot-timer-events.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +330 lines, -0 lines 0 comments Download
M tools/tickprocessor.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Yang
PTAL. Somehow I wasn't able to upload patchsets to the previous CL with the same ...
8 years, 1 month ago (2012-11-21 08:21:55 UTC) #1
Jakob Kummerow
LGTM if comments are addressed (one is already obsolete in patch set 11, but I ...
8 years, 1 month ago (2012-11-22 10:56:08 UTC) #2
Yang
8 years, 1 month ago (2012-11-22 13:04:20 UTC) #3
https://codereview.chromium.org/11412125/diff/3017/src/compiler.cc
File src/compiler.cc (right):

https://codereview.chromium.org/11412125/diff/3017/src/compiler.cc#newcode858
src/compiler.cc:858: HistogramTimerScope
timer(isolate->counters()->recompile_synchronous());
On 2012/11/22 10:56:08, Jakob wrote:
> Adding the run time of a method named RecompileParallel() to a counter named
> recompile_synchronous is surprising. I assume it's on purpose, though, because
> this is the non-backgrounded "prologue", right? Please add a comment to that
> effect.

Done.

https://codereview.chromium.org/11412125/diff/3017/src/log.h
File src/log.h (right):

https://codereview.chromium.org/11412125/diff/3017/src/log.h#newcode292
src/log.h:292: Logger* logger_;
On 2012/11/22 10:56:08, Jakob wrote:
> "private:"?

Done.

https://codereview.chromium.org/11412125/diff/3017/tools/plot-timer-events.js
File tools/plot-timer-events.js (right):

https://codereview.chromium.org/11412125/diff/3017/tools/plot-timer-events.js...
tools/plot-timer-events.js:31: 'V8.ScriptRun'      :
On 2012/11/22 10:56:08, Jakob wrote:
> nit: free-floating colons look weird. I'd remove the spaces before them.

Done.

https://codereview.chromium.org/11412125/diff/3017/tools/plot-timer-events.js...
tools/plot-timer-events.js:76: 
On 2012/11/22 10:56:08, Jakob wrote:
> nit: two empty lines between top-level statements.

Done.

https://codereview.chromium.org/11412125/diff/3017/tools/plot-timer-events.js...
tools/plot-timer-events.js:148: if ((next_range.end > merge_end)) {  // Extend
range end.
On 2012/11/22 10:56:08, Jakob wrote:
> nit: duplicate parentheses

Done.

https://codereview.chromium.org/11412125/diff/3017/tools/plot-timer-events.js...
tools/plot-timer-events.js:208: include_start = exclude_start;
On 2012/11/22 10:56:08, Jakob wrote:
> s/exclude_start/exclude_end/, I think

Nice catch. Thanks.

Powered by Google App Engine
This is Rietveld 408576698