ab55cc736f
This adds new timed histograms to measure the time that TurboFan spends on various compilation phases on a per function bases. This includes the following new counters: - V8.TurboFanOptimizePrepare Time spent in the preparation phase of TurboFan optimization. Recorded on each regular optimization of a function. - V8.TurboFanOptimizeExecute Time spent in the execution phase of TurboFan optimization. Recorded on each regular optimization of a function. - V8.TurboFanOptimizeFinalize Time spent in the finalization phase of TurboFan optimization. Recorded on each regular optimization of a function. - V8.TurboFanOptimizeTotalForeground Total time spent on the main thread during TurboFan optimization. Recorded on each regular optimization of a function. - V8.TurboFanOptimizeTotalBackground Total time spent on a background thread during TurboFan optimization. Recorded on each regular optimization of a function. - V8.TurboFanOptimizeTotalTime Total time from starting optimizing to installing the code object. Recorded on each regular optimization of a function. - V8.TurboFanOptimizeForOnStackReplacementPrepare Time spent in the preparation phase of TurboFan optimization for On Stack Replacement (OSR). Recorded on each optimization for on-stack replacement of a function. - V8.TurboFanOptimizeForOnStackReplacementExecute Time spent in the execution phase of TurboFan optimization for On Stack Replacement (OSR). Recorded on each optimization for on-stack replacement of a function. - V8.TurboFanOptimizeForOnStackReplacementFinalize Time spent in the finalization phase of TurboFan optimization for On Stack Replacement (OSR). Recorded on each optimization for on-stack replacement of a function. - V8.TurboFanOptimizeForOnStackReplacementTotalTime Total time from starting optimizing for On Stack Replacement (OSR) to installing the code object. Recorded on each optimization for on-stack replacement of a function. This should give us a good overview and guide/validate future work on the concurrent optimization pipeline. Bug: v8:7790, v8:9074 Change-Id: I96573cd1da472684d06624b7573e4afd6efca99c Doc: http://doc/1umgFxjLQ9p22lVS_BdhmAlo1o9xnxnWlhVi_HMWNktM Cq-Include-Trybots: luci.chromium.try:linux-blink-rel Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1547864 Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Jaroslav Sevcik <jarin@chromium.org> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/master@{#60604} |
||
---|---|---|
benchmarks | ||
build_overrides | ||
custom_deps | ||
docs | ||
gni | ||
include | ||
infra | ||
samples | ||
src | ||
test | ||
testing | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.editorconfig | ||
.git-blame-ignore-revs | ||
.gitattributes | ||
.gitignore | ||
.gn | ||
.vpython | ||
.ycm_extra_conf.py | ||
AUTHORS | ||
BUILD.gn | ||
ChangeLog | ||
CODE_OF_CONDUCT.md | ||
codereview.settings | ||
DEPS | ||
LICENSE | ||
LICENSE.fdlibm | ||
LICENSE.strongtalk | ||
LICENSE.v8 | ||
LICENSE.valgrind | ||
OWNERS | ||
PRESUBMIT.py | ||
README.md | ||
snapshot_toolchain.gni | ||
WATCHLISTS |
V8 JavaScript Engine
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://v8.dev/docs
Getting the Code
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies.
To stay up to date, run
git pull origin
gclient sync
For fetching all branches, add the following into your remote
configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
fetch = +refs/tags/*:refs/tags/*
Contributing
Please follow the instructions mentioned at v8.dev/docs/contribute.