Skip to content

Commit

Permalink
[benchmark] Add dartdevc-null targets.
Browse files Browse the repository at this point in the history
Change-Id: I130db1cb41a3f6a4d4254cbdd6782bc5bb44c351
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/155446
Reviewed-by: Nicholas Shahan <nshahan@google.com>
  • Loading branch information
sortie committed Jul 24, 2020
1 parent 5670869 commit 4c74ebb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion tools/bots/test_matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -3321,7 +3321,8 @@
"runtime",
"gen_snapshot",
"dart_precompiled_runtime",
"kernel-service.dart.snapshot"
"kernel-service.dart.snapshot",
"dartdevc_test"
]
},
{
Expand Down
16 changes: 8 additions & 8 deletions tools/bots/try_benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ for command; do
rm -f linux-x64_profile.tar.gz
elif [ "$command" = linux-ia32-build ]; then
# NOTE: These are duplicated in tools/bots/test_matrix.json, keep in sync.
./tools/build.py --mode=release --arch=ia32 create_sdk
./tools/build.py --mode=release --arch=ia32 runtime
./tools/build.py --mode=release --arch=ia32 kernel-service.dart.snapshot
./tools/build.py --mode=release --arch=ia32 create_sdk runtime kernel-service.dart.snapshot
elif [ "$command" = linux-ia32-archive ]; then
strip -w \
-K 'kDartVmSnapshotData' \
Expand Down Expand Up @@ -204,11 +202,7 @@ EOF
rm -rf tmp
elif [ "$command" = linux-x64-build ]; then
# NOTE: These are duplicated in tools/bots/test_matrix.json, keep in sync.
./tools/build.py --mode=release --arch=x64 create_sdk
./tools/build.py --mode=release --arch=x64 runtime
./tools/build.py --mode=release --arch=x64 gen_snapshot
./tools/build.py --mode=release --arch=x64 dart_precompiled_runtime
./tools/build.py --mode=release --arch=x64 kernel-service.dart.snapshot
./tools/build.py --mode=release --arch=x64 create_sdk runtime gen_snapshot dart_precompiled_runtime kernel-service.dart.snapshot dartdevc_test
elif [ "$command" = linux-x64-archive ]; then
strip -w \
-K 'kDartVmSnapshotData' \
Expand Down Expand Up @@ -306,6 +300,10 @@ EOF
third_party/d8/linux/x64 \
third_party/firefox_jsshell/linux/ \
out/ReleaseX64/dart_precompiled_runtime \
out/ReleaseX64/gen/utils/dartdevc/kernel/ \
out/ReleaseX64/ddc_outline.dill \
out/ReleaseX64/gen/utils/dartdevc/sound/ \
out/ReleaseX64/ddc_outline_sound.dill \
sdk \
samples-dev/swarm \
third_party/pkg \
Expand Down Expand Up @@ -350,6 +348,8 @@ EOF
third_party/d8/linux/x64/d8 --stack_size=1024 sdk/lib/_internal/js_runtime/lib/preambles/d8.js out.js
out/ReleaseX64/dart-sdk/bin/dart pkg/dev_compiler/tool/ddb -r d8 -b third_party/d8/linux/x64/d8 hello.dart
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
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
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
out/ReleaseX64/dart pkg/front_end/tool/perf.dart parse hello.dart
out/ReleaseX64/dart pkg/front_end/tool/perf.dart scan hello.dart
out/ReleaseX64/dart pkg/front_end/tool/fasta_perf.dart kernel_gen_e2e hello.dart
Expand Down

0 comments on commit 4c74ebb

Please sign in to comment.