Commit a0dc9225 authored by Sebastien Marchand's avatar Sebastien Marchand Committed by Commit Bot

Add the EnabledWithThinLTO group to the ClangPGO study

This will let us use the Finch dashboards to evaluate the performance
gains of ThinLTO.

Bug: 1057737
Change-Id: I9ddaeb869a8aed369a7b5ca7af5994344dddf525
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249085Reviewed-by: default avatarHans Wennborg <hans@chromium.org>
Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
Auto-Submit: Sébastien Marchand <sebmarchand@chromium.org>
Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org>
Cr-Commit-Position: refs/heads/master@{#779779}
parent 584ad12a
......@@ -72,6 +72,7 @@ buildflag_header("buildflags") {
flags = [
"CLANG_PGO=$chrome_pgo_phase",
"ENABLE_KALEIDOSCOPE=$enable_kaleidoscope",
"USE_THIN_LTO=$use_thin_lto",
]
}
......
......@@ -530,7 +530,11 @@ void ChromeBrowserMainExtraPartsMetrics::PreBrowserStart() {
// Log once here at browser start rather than at each renderer launch.
ChromeMetricsServiceAccessor::RegisterSyntheticFieldTrial("ClangPGO",
#if BUILDFLAG(CLANG_PGO)
#if BUILDFLAG(USE_THIN_LTO)
"EnabledWithThinLTO"
#else
"Enabled"
#endif
#else
"Disabled"
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment