Skip to content

Commit 4c74ebb

Browse files
committed
[benchmark] Add dartdevc-null targets.
Change-Id: I130db1cb41a3f6a4d4254cbdd6782bc5bb44c351 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/155446 Reviewed-by: Nicholas Shahan <nshahan@google.com>
1 parent 5670869 commit 4c74ebb

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

tools/bots/test_matrix.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3321,7 +3321,8 @@
33213321
"runtime",
33223322
"gen_snapshot",
33233323
"dart_precompiled_runtime",
3324-
"kernel-service.dart.snapshot"
3324+
"kernel-service.dart.snapshot",
3325+
"dartdevc_test"
33253326
]
33263327
},
33273328
{

tools/bots/try_benchmarks.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ for command; do
7575
rm -f linux-x64_profile.tar.gz
7676
elif [ "$command" = linux-ia32-build ]; then
7777
# NOTE: These are duplicated in tools/bots/test_matrix.json, keep in sync.
78-
./tools/build.py --mode=release --arch=ia32 create_sdk
79-
./tools/build.py --mode=release --arch=ia32 runtime
80-
./tools/build.py --mode=release --arch=ia32 kernel-service.dart.snapshot
78+
./tools/build.py --mode=release --arch=ia32 create_sdk runtime kernel-service.dart.snapshot
8179
elif [ "$command" = linux-ia32-archive ]; then
8280
strip -w \
8381
-K 'kDartVmSnapshotData' \
@@ -204,11 +202,7 @@ EOF
204202
rm -rf tmp
205203
elif [ "$command" = linux-x64-build ]; then
206204
# NOTE: These are duplicated in tools/bots/test_matrix.json, keep in sync.
207-
./tools/build.py --mode=release --arch=x64 create_sdk
208-
./tools/build.py --mode=release --arch=x64 runtime
209-
./tools/build.py --mode=release --arch=x64 gen_snapshot
210-
./tools/build.py --mode=release --arch=x64 dart_precompiled_runtime
211-
./tools/build.py --mode=release --arch=x64 kernel-service.dart.snapshot
205+
./tools/build.py --mode=release --arch=x64 create_sdk runtime gen_snapshot dart_precompiled_runtime kernel-service.dart.snapshot dartdevc_test
212206
elif [ "$command" = linux-x64-archive ]; then
213207
strip -w \
214208
-K 'kDartVmSnapshotData' \
@@ -306,6 +300,10 @@ EOF
306300
third_party/d8/linux/x64 \
307301
third_party/firefox_jsshell/linux/ \
308302
out/ReleaseX64/dart_precompiled_runtime \
303+
out/ReleaseX64/gen/utils/dartdevc/kernel/ \
304+
out/ReleaseX64/ddc_outline.dill \
305+
out/ReleaseX64/gen/utils/dartdevc/sound/ \
306+
out/ReleaseX64/ddc_outline_sound.dill \
309307
sdk \
310308
samples-dev/swarm \
311309
third_party/pkg \
@@ -350,6 +348,8 @@ EOF
350348
third_party/d8/linux/x64/d8 --stack_size=1024 sdk/lib/_internal/js_runtime/lib/preambles/d8.js out.js
351349
out/ReleaseX64/dart-sdk/bin/dart pkg/dev_compiler/tool/ddb -r d8 -b third_party/d8/linux/x64/d8 hello.dart
352350
out/ReleaseX64/dart-sdk/bin/dart pkg/dev_compiler/tool/ddb -r d8 -b third_party/d8/linux/x64/d8 --mode=compile --compile-vm-options=--print-metrics --packages=.packages --out out.js hello.dart
351+
out/ReleaseX64/dart-sdk/bin/dart pkg/dev_compiler/tool/ddb -r d8 -b third_party/d8/linux/x64/d8 --enable-experiment=non-nullable --sound-null-safety --debug hello.dart
352+
out/ReleaseX64/dart-sdk/bin/dart pkg/dev_compiler/tool/ddb -r d8 -b third_party/d8/linux/x64/d8 --enable-experiment=non-nullable --sound-null-safety --debug --mode=compile --compile-vm-options=--print-metrics --packages=.packages --out out.js hello.dart
353353
out/ReleaseX64/dart pkg/front_end/tool/perf.dart parse hello.dart
354354
out/ReleaseX64/dart pkg/front_end/tool/perf.dart scan hello.dart
355355
out/ReleaseX64/dart pkg/front_end/tool/fasta_perf.dart kernel_gen_e2e hello.dart

0 commit comments

Comments
 (0)