|
1 | | -bench_js_linux: ${vm_java_8} ${svm-common-linux-amd64} ${sulong_linux} ${custom_vm_linux} { |
| 1 | +vm_bench_common: { |
2 | 2 | result_file: results.json |
3 | | - upload: [bench-uploader.py, ${bench_js_linux.result_file}] |
4 | | - cmd_base: ${mx_vm_common} [--dynamicimports, js-benchmarks, benchmark, --results-file, ${bench_js_linux.result_file}] |
| 3 | + upload: [bench-uploader.py, ${vm_bench_common.result_file}] |
| 4 | + capabilities: [no_frequency_scaling, tmpfs25g, x52, linux, amd64] |
| 5 | + targets: [bench] |
| 6 | + timelimit: "1:00:00" |
| 7 | +} |
| 8 | + |
| 9 | +vm_bench_js_linux: ${vm_bench_common} ${vm_java_8} ${svm-common-linux-amd64} ${sulong_linux} ${custom_vm_linux} { |
| 10 | + cmd_base: ${mx_vm_common} [--dynamicimports, js-benchmarks, benchmark, --results-file, ${vm_bench_common.result_file}] |
5 | 11 | config_base: ["--js-vm=graal-js", "--js-vm-config=default", "--jvm=graalvm-${VM_ENV}"] |
6 | | - cmd: ${bench_js_linux.cmd_base} ["${BENCH_SUITE}:*", --] ${bench_js_linux.config_base} |
| 12 | + cmd: ${vm_bench_js_linux.cmd_base} ["${BENCH_SUITE}:*", --] ${vm_bench_js_linux.config_base} |
7 | 13 | setup: ${common_vm.setup} [ |
8 | 14 | ${mx_vm_common} [build] |
9 | 15 | [git, clone, --depth, "1", [mx, urlrewrite, "https://github.com/graalvm/js-benchmarks.git"], ../../js-benchmarks] |
10 | 16 | ] |
11 | 17 | run: [ |
12 | | - ${bench_js_linux.cmd} ["--jvm-config=jvm"] |
13 | | - ${bench_js_linux.upload} |
14 | | - ${bench_js_linux.cmd} ["--jvm-config=native"] |
15 | | - ${bench_js_linux.upload} |
| 18 | + ${vm_bench_js_linux.cmd} ["--jvm-config=jvm-interpreter"] |
| 19 | + ${vm_bench_common.upload} |
| 20 | + ${vm_bench_js_linux.cmd} ["--jvm-config=native-interpreter"] |
| 21 | + ${vm_bench_common.upload} |
| 22 | + ] |
| 23 | +} |
| 24 | + |
| 25 | +vm_bench_polybench_linux: ${vm_bench_common} ${vm_java_8} ${svm-common-linux-amd64} ${truffleruby_linux} ${custom_vm_linux} { |
| 26 | + base_cmd: [mx, --env, "polybench-${VM_ENV}"] |
| 27 | + bench_cmd: ${vm_bench_polybench_linux.base_cmd} [benchmark, "polybench:*", --results-file, ${vm_bench_polybench_linux.result_file}, --, "--polybench-vm=graalvm-${VM_ENV}"] |
| 28 | + setup: ${common_vm.setup} [ |
| 29 | + ${vm_bench_polybench_linux.base_cmd} [build] |
| 30 | + ] |
| 31 | + run: [ |
| 32 | + ${vm_bench_polybench_linux.bench_cmd} ["--polybench-vm-config=jvm-interpreter"] |
| 33 | + ${vm_bench_common.upload} |
| 34 | + ${vm_bench_polybench_linux.bench_cmd} ["--polybench-vm-config=native-interpreter"] |
| 35 | + ${vm_bench_common.upload} |
16 | 36 | ] |
17 | | - capabilities: [no_frequency_scaling, tmpfs25g, x52, linux, amd64] |
18 | | - targets: [bench] |
19 | | - timelimit: "1:00:00" |
20 | 37 | } |
21 | 38 |
|
22 | 39 | builds += [ |
23 | 40 | # We need to expand `${common_vm_linux}` here to work around some limitations in the version of pyhocon that we use in the CI |
24 | | - ${common_vm_linux} ${bench_js_linux} { environment: { BENCH_SUITE: octane }, name: bench-vm-${vm_setup.short_name}-js-octane-linux}, |
25 | | - ${common_vm_linux} ${bench_js_linux} { environment: { BENCH_SUITE: jetstream }, name: bench-vm-${vm_setup.short_name}-js-jetstream-linux} |
26 | | - ${common_vm_linux} ${bench_js_linux} { environment: { BENCH_SUITE: jetstream2}, name: bench-vm-${vm_setup.short_name}-js-jetstream2-linux} |
27 | | - ${common_vm_linux} ${bench_js_linux} { environment: { BENCH_SUITE: micro }, name: bench-vm-${vm_setup.short_name}-js-micro-linux} |
28 | | - ${common_vm_linux} ${bench_js_linux} { environment: { BENCH_SUITE: v8js }, name: bench-vm-${vm_setup.short_name}-js-v8js-linux} |
29 | | - ${common_vm_linux} ${bench_js_linux} { environment: { BENCH_SUITE: misc }, name: bench-vm-${vm_setup.short_name}-js-misc-linux} |
30 | | - ${common_vm_linux} ${bench_js_linux} { environment: { BENCH_SUITE: npm-regex }, name: bench-vm-${vm_setup.short_name}-js-npm-regex-linux} |
| 41 | + ${common_vm_linux} ${vm_bench_js_linux} { environment: { BENCH_SUITE: octane }, name: bench-vm-${vm_setup.short_name}-js-octane-linux}, |
| 42 | + ${common_vm_linux} ${vm_bench_js_linux} { environment: { BENCH_SUITE: jetstream }, name: bench-vm-${vm_setup.short_name}-js-jetstream-linux} |
| 43 | + ${common_vm_linux} ${vm_bench_js_linux} { environment: { BENCH_SUITE: jetstream2}, name: bench-vm-${vm_setup.short_name}-js-jetstream2-linux} |
| 44 | + ${common_vm_linux} ${vm_bench_js_linux} { environment: { BENCH_SUITE: micro }, name: bench-vm-${vm_setup.short_name}-js-micro-linux} |
| 45 | + ${common_vm_linux} ${vm_bench_js_linux} { environment: { BENCH_SUITE: v8js }, name: bench-vm-${vm_setup.short_name}-js-v8js-linux} |
| 46 | + ${common_vm_linux} ${vm_bench_js_linux} { environment: { BENCH_SUITE: misc }, name: bench-vm-${vm_setup.short_name}-js-misc-linux} |
| 47 | + ${common_vm_linux} ${vm_bench_js_linux} { environment: { BENCH_SUITE: npm-regex }, name: bench-vm-${vm_setup.short_name}-js-npm-regex-linux} |
| 48 | + |
| 49 | + ${common_vm_linux} ${vm_bench_polybench_linux} {name: bench-vm-${vm_setup.short_name}-polybench-linux} |
31 | 50 |
|
32 | | - ${bench_daily_vm_linux} ${bench_js_linux} { |
| 51 | + ${bench_daily_vm_linux} ${vm_bench_js_linux} { |
33 | 52 | run: [ |
34 | | - ${mx_vm_common} [benchmark, --results-file, ${bench_js_linux.result_file}, "agentscript-graal-js:*", --, "--jvm=graalvm-${VM_ENV}", "--jvm-config=jvm", "--js=graal-js", "--js-config=default"] |
35 | | - ${bench_js_linux.upload} |
36 | | - ${mx_vm_common} [benchmark, --results-file, ${bench_js_linux.result_file}, "agentscript-graal-js:*", --, "--jvm=graalvm-${VM_ENV}", "--jvm-config=native", "--js=graal-js", "--js-config=default"] |
37 | | - ${bench_js_linux.upload} |
| 53 | + ${mx_vm_common} [benchmark, --results-file, ${vm_bench_js_linux.result_file}, "agentscript-graal-js:*", --, "--jvm=graalvm-${VM_ENV}", "--jvm-config=jvm", "--js=graal-js", "--js-config=default"] |
| 54 | + ${vm_bench_common.upload} |
| 55 | + ${mx_vm_common} [benchmark, --results-file, ${vm_bench_js_linux.result_file}, "agentscript-graal-js:*", --, "--jvm=graalvm-${VM_ENV}", "--jvm-config=native", "--js=graal-js", "--js-config=default"] |
| 56 | + ${vm_bench_common.upload} |
38 | 57 | ] |
39 | 58 | timelimit: "45:00" |
40 | 59 | name: bench-vm-${vm_setup.short_name}-agentscript-js-java8-linux-amd64 |
|
0 commit comments