@@ -8,12 +8,15 @@ local vm_common = import '../ci_common/common.jsonnet';
8
8
local repo_config = import '../../../ci/repo-configuration.libsonnet' ;
9
9
10
10
{
11
- vm_bench_common : {
11
+ vm_bench_common_gate : {
12
12
result_file:: 'results.json' ,
13
+ capabilities+: ['e3' ],
14
+ timelimit: '1:30:00' ,
15
+ },
16
+ vm_bench_common: self .vm_bench_common_gate + {
13
17
upload:: ['bench-uploader.py' , self .result_file],
14
18
upload_and_wait_for_indexing:: self .upload + ['--wait-for-indexing' ],
15
- capabilities+: ['tmpfs25g' , 'e3' ],
16
- timelimit: '1:30:00' ,
19
+ capabilities+: ['tmpfs25g' ],
17
20
},
18
21
19
22
vm_bench_js_linux_amd64(bench_suite=null): vm.vm_java_21 + vm_common.svm_common + vm_common.sulong + vm.custom_vm + self .vm_bench_common + {
@@ -69,7 +72,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
69
72
timelimit: '1:00:00' ,
70
73
},
71
74
72
- vm_bench_polybenchmarks_linux_common(vm_config='jvm', is_gate=false, suite='default:*'): vm_common.svm_common + vm_common.truffleruby + vm.custom_vm + self .vm_bench_common + vm.vm_java_21 + self .polybench_hpc_linux_common + self .vm_bench_polybenchmarks_base(env='polybench-${VM_ENV}' ) {
75
+ vm_bench_polybenchmarks_linux_common(vm_config='jvm', is_gate=false, suite='default:*'): vm_common.svm_common + vm_common.truffleruby + vm.custom_vm + vm.vm_java_21 + self .polybench_hpc_linux_common + self .vm_bench_polybenchmarks_base(env='polybench-${VM_ENV}' ) {
73
76
bench_cmd:: self .base_cmd + ['benchmark' , '--results-file' , self .result_file],
74
77
setup+: [
75
78
self .base_cmd + ['sforceimports' ],
@@ -92,9 +95,9 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
92
95
notify_emails+: if (is_gate) then [] else [ 'boris.spasojevic@oracle.com' ],
93
96
teardown+: if (is_gate) then [] else [ $.vm_bench_common.upload ],
94
97
timelimit: if (is_gate) then '1:00:00' else '1:30:00' ,
95
- },
98
+ } + ( if is_gate then self .vm_bench_common_gate else self .vm_bench_common) ,
96
99
97
- vm_bench_polybench_linux_common(env='polybench-${VM_ENV}', is_gate=false): vm_common.svm_common + vm_common.truffleruby + vm_common.graalpy + vm.custom_vm + self .vm_bench_common + vm_common.wasm {
100
+ vm_bench_polybench_linux_common(env='polybench-${VM_ENV}', is_gate=false): vm_common.svm_common + vm_common.truffleruby + vm_common.graalpy + vm.custom_vm + vm_common.wasm {
98
101
base_cmd:: ['mx' , '--env' , env],
99
102
bench_cmd:: self .base_cmd + ['benchmark' ] + (if (is_gate) then ['--fail-fast' ] else []),
100
103
interpreter_bench_cmd(vmConfig):: self .bench_cmd +
@@ -111,7 +114,7 @@ local repo_config = import '../../../ci/repo-configuration.libsonnet';
111
114
self .base_cmd + ['build' , '--dependencies=POLYBENCH_BENCHMARKS' ],
112
115
],
113
116
notify_groups:: ['polybench' ],
114
- },
117
+ } + ( if is_gate then self .vm_bench_common_gate else self .vm_bench_common) ,
115
118
116
119
vm_bench_polybench_hpc_linux_common(env, metric, benchmarks='*', polybench_vm_config='native-interpreter'): self .vm_bench_polybench_linux_common(env=env) + self .polybench_hpc_linux_common + {
117
120
local machine_name = "e3" , // restricting ourselves to specific hardware to ensure performance counters work there
0 commit comments