0

[third-party] DEPS-roll JetStream benchmark

JetStream can be DEPS-rolled like Speedometer.
This simplifies updating new versions and allows us to track the
latest dev versions on the chrome perf waterfall with bisection
support.

Drive-by-fix:
- Move all press benchmarks (Speedometer and JetStream) DEPS checkouts
  behind a 'checkout_configuration != "small"' condition

Bug: 394874184
Change-Id: Idd09969cb7565ba6e32faf1ebf2343fd8ec8a2ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6249380
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428522}
This commit is contained in:
Camillo Bruni
2025-03-05 12:42:37 -08:00
committed by Chromium LUCI CQ
parent 568172992f
commit c7bbb4bf35
8 changed files with 90 additions and 10 deletions

6
.gitmodules vendored

@ -352,6 +352,12 @@
[submodule "third_party/securemessage/src"]
path = third_party/securemessage/src
url = https://chromium.googlesource.com/external/github.com/google/securemessage
[submodule "third_party/jetstream/main"]
path = third_party/jetstream/main
url = https://chromium.googlesource.com/external/github.com/WebKit/JetStream
[submodule "third_party/jetstream/v2.2"]
path = third_party/jetstream/v2.2
url = https://chromium.googlesource.com/external/github.com/WebKit/JetStream
[submodule "third_party/speedometer/main"]
path = third_party/speedometer/main
url = https://chromium.googlesource.com/external/github.com/WebKit/Speedometer

53
DEPS

@ -226,6 +226,11 @@ vars = {
# needed by Cronet gn2bp CI builder.
'checkout_copybara': False,
# By default, check out the latest press benchmark versions for local
# testing and debugging. Benchmarks are also hosted on publicly accessible
# sites as backup solution.
'checkout_press_benchmarks': 'checkout_configuration != "small"',
# luci-go CIPD package version.
# Make sure the revision is uploaded by infra-packagers builder.
# https://ci.chromium.org/p/infra-internal/g/infra-packagers/console
@ -423,6 +428,14 @@ vars = {
# and whatever else without interference from each other.
'libexpat_revision': '624da0f593bb8d7e146b9f42b06d8e6c80d032a3',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling jetstream-main
# and whatever else without interference from each other.
'jetstream_main_revision': '0260caf74b5c115507ee0adb6d9cdf6aefb0965f',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling jetstream-v2.2
# and whatever else without interference from each other.
'jetstream_2.2_revision': '2145cedef4ca2777b792cb0059d3400ee2a6153c',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling wuffs
# and whatever else without interference from each other.
'wuffs_revision': 'e3f919ccfe3ef542cfc983a82146070258fb57f8',
@ -2238,20 +2251,40 @@ deps = {
'src/third_party/securemessage/src':
Var('chromium_git') + '/external/github.com/google/securemessage.git' + '@' + Var('securemessage_revision'),
'src/third_party/speedometer/main':
Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_main_revision'),
'src/third_party/jetstream/main': {
'url': Var('chromium_git') + '/external/github.com/WebKit/JetStream.git' + '@' + Var('jetstream_main_revision'),
'condition': 'checkout_press_benchmarks',
},
'src/third_party/speedometer/v3.1':
Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_3.1_revision'),
'src/third_party/jetstream/v2.2': {
'url': Var('chromium_git') + '/external/github.com/WebKit/JetStream.git' + '@' + Var('jetstream_2.2_revision'),
'condition': 'checkout_press_benchmarks',
},
'src/third_party/speedometer/v3.0':
Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_3.0_revision'),
'src/third_party/speedometer/main': {
'url': Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_main_revision'),
'condition': 'checkout_press_benchmarks',
},
'src/third_party/speedometer/v2.1':
Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_2.1_revision'),
'src/third_party/speedometer/v3.1': {
'url': Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_3.1_revision'),
'condition': 'checkout_press_benchmarks',
},
'src/third_party/speedometer/v2.0':
Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_2.0_revision'),
'src/third_party/speedometer/v3.0': {
'url': Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_3.0_revision'),
'condition': 'checkout_press_benchmarks',
},
'src/third_party/speedometer/v2.1': {
'url': Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_2.1_revision'),
'condition': 'checkout_press_benchmarks',
},
'src/third_party/speedometer/v2.0': {
'url': Var('chromium_git') + '/external/github.com/WebKit/Speedometer.git' + '@' + Var('speedometer_2.0_revision'),
'condition': 'checkout_press_benchmarks',
},
'src/third_party/ukey2/src':
Var('chromium_git') + '/external/github.com/google/ukey2.git' + '@' + Var('ukey2_revision'),

2
OWNERS

@ -139,6 +139,8 @@ per-file third_party/hunspell_dictionaries=*
per-file third_party/icu=*
per-file third_party/instrumented_libs=*
per-file third_party/javalang/src=*
per-file third_party/jetstream/main=*
per-file third_party/jetstream/v2.2=*
per-file third_party/jsoncpp/source=*
per-file third_party/junit/src=*
per-file third_party/khronos_glcts=*

22
third_party/jetstream/LICENSE vendored Normal file

@ -0,0 +1,22 @@
Copyright (C) 2007-2024 Apple Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.

3
third_party/jetstream/OWNERS vendored Normal file

@ -0,0 +1,3 @@
cbruni@chromium.org
vahl@chromium.org
dlehmann@chromium.org

12
third_party/jetstream/README.chromium vendored Normal file

@ -0,0 +1,12 @@
Name: JetStream
Short Name: jetstream
URL: https://github.com/WebKit/JetStream
Version: N/A
Revision: DEPS
License: BSD-2-Clause
License File: LICENSE
Shipped: no
Security Critical: no
Description:
This contains versioned snapshots of the JetStream JavaScript and wasm benchmark.

1
third_party/jetstream/main vendored Submodule

1
third_party/jetstream/v2.2 vendored Submodule