• bgirard's avatar
    Add StartProfiling to filter out v8 warm up · 93557496
    bgirard authored
    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}
    93557496
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...