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

Issue 2950543002: Add StartProfiling to filter out v8 warm up (Closed)

Created:
3 years, 6 months ago by bgirard
Modified:
3 years, 5 months ago
Reviewers:
alph
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Add StartProfiling to filter out v8 warm up v8.cpu_profiler has a long and variable warm up period. If you look in tracing that time shows up under V8.Execute which is very misleading. By adding a tracing category for the time spent in CpuProfiler::StartProfiling the warm up time can be easily identified or even filtered out. With this tracing event the block in StartProfiling correctly described the time spent prepare v8.cpu_profiler out from V8.Execute Test by collecting a trace with V8.Execute and look at when a trace starts generating v8 samples. BUG=chromium:733853 Review-Url: https://codereview.chromium.org/2950543002 Cr-Commit-Position: refs/heads/master@{#46393} Committed: https://chromium.googlesource.com/v8/v8/+/93557496a2315111165b1b6f29ef5b5ba60b1837

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add StartProfiling to filter out v8 warm up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M src/profiler/cpu-profiler.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
alph
https://codereview.chromium.org/2950543002/diff/1/src/profiler/cpu-profiler.cc File src/profiler/cpu-profiler.cc (right): https://codereview.chromium.org/2950543002/diff/1/src/profiler/cpu-profiler.cc#newcode341 src/profiler/cpu-profiler.cc:341: // Enable stack sampling. I suggest to move the ...
3 years, 6 months ago (2017-06-19 18:39:47 UTC) #3
bgirard
https://codereview.chromium.org/2950543002/diff/1/src/profiler/cpu-profiler.cc File src/profiler/cpu-profiler.cc (right): https://codereview.chromium.org/2950543002/diff/1/src/profiler/cpu-profiler.cc#newcode341 src/profiler/cpu-profiler.cc:341: // Enable stack sampling. On 2017/06/19 18:39:47, alph wrote: ...
3 years, 6 months ago (2017-06-19 19:04:33 UTC) #4
alph
https://codereview.chromium.org/2950543002/diff/1/src/profiler/cpu-profiler.cc File src/profiler/cpu-profiler.cc (right): https://codereview.chromium.org/2950543002/diff/1/src/profiler/cpu-profiler.cc#newcode341 src/profiler/cpu-profiler.cc:341: // Enable stack sampling. On 2017/06/19 19:04:32, bgirard wrote: ...
3 years, 6 months ago (2017-06-19 20:10:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2950543002/1
3 years, 6 months ago (2017-06-19 22:29:29 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/43380)
3 years, 6 months ago (2017-06-19 22:32:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2950543002/1
3 years, 5 months ago (2017-07-03 21:31:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2950543002/20001
3 years, 5 months ago (2017-07-03 21:35:32 UTC) #17
commit-bot: I haz the power
3 years, 5 months ago (2017-07-03 22:01:23 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/93557496a2315111165b1b6f29ef5b5ba60...

Powered by Google App Engine
This is Rietveld 408576698