[builtins] Update guideline of using builtin pgo
There is somes flag errors in the comments, which clarify how to use pgo for builtin. Change-Id: I0c418aee57adb7c6774735d32fc63a143bee5c7e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3849654 Reviewed-by: Igor Sheludko <ishell@chromium.org> Commit-Queue: Wenqin Yang <wenqin.yang@intel.com> Cr-Commit-Position: refs/heads/main@{#82650}
This commit is contained in:
parent
85f3201985
commit
aba3572414
4
BUILD.gn
4
BUILD.gn
@ -178,10 +178,10 @@ declare_args() {
|
||||
#
|
||||
# To do profile-guided optimizations of builtins:
|
||||
# 1. Build with v8_enable_builtins_profiling = true
|
||||
# 2. Run your chosen workload with the --turbo-profiling-log-builtins flag.
|
||||
# 2. Run your chosen workload with the --turbo-profiling-output flag.
|
||||
# For Chrome, the invocation might look like this:
|
||||
# chrome --no-sandbox --disable-extensions
|
||||
# --js-flags="--turbo-profiler-output=v8.builtins.pgo"
|
||||
# --js-flags="--turbo-profiling-output=v8.builtins.pgo"
|
||||
# "http://localhost/test-suite"
|
||||
# 3. Run tools/builtins-pgo/get_hints.py to produce the branch hints,
|
||||
# selecting min_count and threshold_ratio as you wish.
|
||||
|
Loading…
Reference in New Issue
Block a user