File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,15 @@ jdks + wasm_common +
40
40
BENCH_VM_CONFIG: 'graal-core' ,
41
41
},
42
42
},
43
+
44
+ $.jdkLatest + $.linux_amd64 + $.bench_daily + $.bench_graalwasm_emsdk_full + {
45
+ name: 'bench-graalwasm-wat-micro' + self .name_suffix,
46
+ environment+: {
47
+ BENCH_RUNNER: 'run-wat-micro-benchmarks' ,
48
+ BENCH_VM: 'server' ,
49
+ BENCH_VM_CONFIG: 'graal-core' ,
50
+ },
51
+ },
43
52
],
44
53
45
54
builds: utils.add_defined_in(_builds, std.thisFile ),
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ # Runs SIMD benchmarks from the wat suite.
4
+
5
+ set -e
6
+
7
+ RESULTS_FILE_PATH=$1
8
+ VM=$2
9
+ VM_CONFIG=$3
10
+ UPLOAD_CMD=$4
11
+
12
+ for benchmark in vector-double-mul vector-double-nearest vector-double-round vector-int-add vector-int-mix vector-int-mul
13
+ do
14
+ mx --dy /compiler --kill-with-sigquit benchmark \
15
+ " --machine-name=${MACHINE_NAME} " \
16
+ " --results-file=${RESULTS_FILE_PATH} " \
17
+ wasm:WASM_BENCHMARKCASES -- \
18
+ --jvm ${VM} --jvm-config ${VM_CONFIG} \
19
+ --add-modules=jdk.incubator.vector \
20
+ -Dwasmbench.benchmarkName=$benchmark -- \
21
+ WatBenchmarkSuite
22
+
23
+ ${UPLOAD_CMD} " ${RESULTS_FILE_PATH} "
24
+ done
You can’t perform that action at this time.
0 commit comments