v8/tools/builtins-pgo
Alexander Schulze 25f779623d [builtins][pgo] Add helper script to interact with PGO profile bucket
We start to host PGO profiles for builtins on a GCP bucket. This script supports various workflows to download profiles for tagged git versions.

In a first step, we provide profiles for tagged git versions only. The script identifies this version from the current checkout and downloads (or validates the existence of) the profiles to a directory where they'll be used during build time.

We introduce `checkout_v8_builtins_pgo_profiles` to the DEPS file (defaults to False). If set, we call the new helper script to download the profiles within the gclient sync step.

The profile download is added to the Chromium project in crrev.com/c/4131525.

Bug: chromium:1382471
Change-Id: I74ba4f3c102a85e230be7ef17b9c87621a1eab14
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4111528
Commit-Queue: Alexander Schulze <alexschulze@chromium.org>
Reviewed-by: Liviu Rau <liviurau@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85253}
2023-01-12 14:16:16 +00:00
..
combine_hints.py [infra] Change all Python shebangs to Python3 2022-08-05 14:55:00 +00:00
download_profiles_test.py [builtins][pgo] Add helper script to interact with PGO profile bucket 2023-01-12 14:16:16 +00:00
download_profiles.py [builtins][pgo] Add helper script to interact with PGO profile bucket 2023-01-12 14:16:16 +00:00
generate.py [builtins-pgo] Make builtins profiles architecture independent 2022-11-30 10:27:24 +00:00
get_hints.py [runtime] Improve builtins PGO logging 2022-08-10 13:55:54 +00:00
x64.profile [builtins] Clear builtins PGO profiles until the next branch cut 2022-08-10 08:53:43 +00:00
x86.profile [builtins-pgo] Make builtins profiles architecture independent 2022-11-30 10:27:24 +00:00