|
75 | 75 | local bench_task(bench=null, benchmarks=BENCHMARKS) = super.bench_task(bench=bench, benchmarks=benchmarks), |
76 | 76 | local bisect_bench_task = self.bisect_bench_task, |
77 | 77 |
|
78 | | - local bytecode_dsl_env = task_spec({ |
| 78 | + // Manual interpreter variants (DSL disabled) |
| 79 | + local manual_interpreter_env = task_spec({ |
79 | 80 | environment +: { |
80 | | - BYTECODE_DSL_INTERPRETER: "true" |
| 81 | + BYTECODE_DSL_INTERPRETER: "false" |
81 | 82 | }, |
82 | 83 | }), |
83 | | - local bytecode_dsl_gate(name) = bytecode_dsl_env + task_spec({ |
| 84 | + local manual_interpreter_gate(name) = manual_interpreter_env + task_spec({ |
84 | 85 | tags :: name, |
85 | 86 | }), |
86 | | - local bytecode_dsl_bench = bytecode_dsl_env + task_spec({ |
87 | | - name_suffix +:: ["bytecode-dsl"], |
| 87 | + local manual_interpreter_bench = manual_interpreter_env + task_spec({ |
| 88 | + name_suffix +:: ["manual-interpreter"], |
88 | 89 | }), |
89 | 90 |
|
90 | 91 | // ----------------------------------------------------------------------------------------------------------------- |
|
95 | 96 | local GPY_JVM21_STANDALONE = "graalpy-jvm21-standalone", |
96 | 97 | local GPY_JVM_STANDALONE = "graalpy-jvm-standalone", |
97 | 98 | local GPY_NATIVE_STANDALONE = "graalpy-native-standalone", |
98 | | - local GPY_NATIVE_BYTECODE_DSL_STANDALONE = "graalpy-native-bc-dsl-standalone", |
99 | 99 | local GPYEE_JVM_STANDALONE = "graalpy-ee-jvm-standalone", |
100 | 100 | local GPYEE_NATIVE_STANDALONE = "graalpy-ee-native-standalone", |
101 | 101 | local GRAAL_JDK_LATEST = "graal-jdk-latest", |
|
116 | 116 | "darwin:aarch64:jdk-latest" : tier3 + provide(GPY_JVM_STANDALONE), |
117 | 117 | "windows:amd64:jdk-latest" : tier3 + provide(GPY_JVM_STANDALONE), |
118 | 118 | }), |
119 | | - "python-unittest-bytecode-dsl": gpgate + platform_spec(no_jobs) + bytecode_dsl_gate("python-unittest") + platform_spec({ |
| 119 | + "python-unittest-manual-interpreter": gpgate + platform_spec(no_jobs) + manual_interpreter_gate("python-unittest") + platform_spec({ |
120 | 120 | "linux:amd64:jdk-latest" : daily + t("01:00:00"), |
121 | 121 | "linux:aarch64:jdk-latest" : daily + t("01:00:00"), |
122 | 122 | "darwin:aarch64:jdk-latest" : daily + t("01:00:00"), |
|
170 | 170 | "darwin:aarch64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
171 | 171 | "windows:amd64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
172 | 172 | }), |
173 | | - "python-junit-bytecode-dsl": gpgate + platform_spec(no_jobs) + bytecode_dsl_gate("python-junit") + platform_spec({ |
| 173 | + "python-junit-manual-interpreter": gpgate + platform_spec(no_jobs) + manual_interpreter_gate("python-junit") + platform_spec({ |
174 | 174 | "linux:amd64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
175 | 175 | }), |
176 | 176 | "python-junit-maven": gpgate_maven + platform_spec(no_jobs) + platform_spec({ |
|
204 | 204 | ], |
205 | 205 | }), |
206 | 206 | }), |
207 | | - "python-pgo-profile-bytecode-dsl": gpgate_ee + bytecode_dsl_env + platform_spec(no_jobs) + platform_spec({ |
208 | | - "linux:amd64:jdk-latest" : post_merge + t("01:30:00") + task_spec({ |
209 | | - run: [["mx", "python-native-pgo"]], |
210 | | - logs+: [ |
211 | | - "default-bytecode-dsl.iprof.gz", |
212 | | - "default-bytecode-dsl.lcov", |
213 | | - ], |
214 | | - }), |
215 | | - }), |
216 | 207 | "python-svm-unittest": gpgate + platform_spec(no_jobs) + platform_spec({ |
217 | 208 | "linux:amd64:jdk-latest" : tier2 + require(GPY_NATIVE_STANDALONE), |
218 | 209 | "linux:aarch64:jdk-latest" : tier3 + require(GPY_NATIVE_STANDALONE), |
219 | 210 | "darwin:aarch64:jdk-latest" : tier3 + require(GPY_NATIVE_STANDALONE), |
220 | 211 | "windows:amd64:jdk-latest" : tier3 + require(GPY_NATIVE_STANDALONE) + batches(2), |
221 | 212 | }), |
222 | | - "python-svm-unittest-bytecode-dsl": gpgate + platform_spec(no_jobs) + bytecode_dsl_gate("python-svm-unittest") + platform_spec({ |
223 | | - "linux:amd64:jdk-latest" : tier2 + provide(GPY_NATIVE_BYTECODE_DSL_STANDALONE), |
| 213 | + "python-svm-unittest-manual-interpreter": gpgate + platform_spec(no_jobs) + manual_interpreter_gate("python-svm-unittest") + platform_spec({ |
| 214 | + "linux:amd64:jdk-latest" : tier2, |
224 | 215 | }), |
225 | 216 | "python-tagged-unittest": gpgate + require(GPY_NATIVE_STANDALONE) + batches(TAGGED_UNITTESTS_SPLIT) + platform_spec(no_jobs) + platform_spec({ |
226 | 217 | "linux:amd64:jdk-latest" : tier2, |
227 | 218 | "linux:aarch64:jdk-latest" : tier3, |
228 | 219 | "darwin:aarch64:jdk-latest" : tier3, |
229 | 220 | "windows:amd64:jdk-latest" : daily + t("02:00:00"), |
230 | 221 | }), |
231 | | - "python-tagged-unittest-bytecode-dsl": gpgate + require(GPY_NATIVE_BYTECODE_DSL_STANDALONE) + batches(TAGGED_UNITTESTS_SPLIT) + bytecode_dsl_gate("python-tagged-unittest") + platform_spec(no_jobs) + platform_spec({ |
232 | | - "linux:amd64:jdk-latest" : tier3, |
233 | | - }), |
234 | 222 | "python-graalvm": gpgate + platform_spec(no_jobs) + platform_spec({ |
235 | 223 | "linux:amd64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
236 | 224 | "linux:aarch64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
|
288 | 276 | }, |
289 | 277 |
|
290 | 278 | local need_pgo = task_spec({runAfter: ["python-pgo-profile-post_merge-linux-amd64-jdk-latest"]}), |
291 | | - local need_bc_pgo = task_spec({runAfter: ["python-pgo-profile-bytecode-dsl-post_merge-linux-amd64-jdk-latest"]}), |
292 | 279 | local forks_warmup = forks("./mx.graalpython/warmup-fork-counts.json"), |
293 | 280 | local forks_meso = forks("meso.json"), |
294 | 281 | local raw_results = task_spec({ |
|
315 | 302 | "vm_name:pypy" : {"linux:amd64:jdk-latest" : on_demand + t("04:00:00")}, |
316 | 303 | }), |
317 | 304 | for bench in ["micro", "meso", "macro"] |
318 | | - } + { |
319 | | - [bench + "-bytecode-dsl"]: bench_task(bench) + bytecode_dsl_bench + platform_spec(no_jobs) + bench_variants({ |
320 | | - "vm_name:graalvm_ee_default_bc_dsl" : {"linux:amd64:jdk-latest" : daily + t("08:00:00")}, |
321 | | - "vm_name:graalpython_enterprise_bc_dsl" : {"linux:amd64:jdk-latest" : daily + t("08:00:00")}, |
322 | | - }), |
323 | | - for bench in ["micro", "meso", "macro"] |
324 | 305 | } + { |
325 | 306 | [bench]: bench_task(bench) + platform_spec(no_jobs) + bench_variants({ |
326 | 307 | "vm_name:graalvm_ce_default" : {"linux:amd64:jdk-latest" : on_demand + t("08:00:00")}, |
|
350 | 331 | "vm_name:cpython" : {"linux:amd64:jdk-latest" : weekly + t("02:00:00")}, |
351 | 332 | }), |
352 | 333 | for bench in ["micro_small", "meso_small"] |
353 | | - } + { |
354 | | - [bench + "-bytecode-dsl"]: bench_task(bench) + bytecode_dsl_bench + platform_spec(no_jobs) + bench_variants({ |
355 | | - "vm_name:graalvm_ee_default_interpreter_bc_dsl" : {"linux:amd64:jdk-latest" : daily + t("04:00:00")}, |
356 | | - "vm_name:graalpython_enterprise_interpreter_bc_dsl" : {"linux:amd64:jdk-latest" : weekly + t("04:00:00")}, |
357 | | - }), |
358 | | - for bench in ["micro_small", "meso_small"] |
359 | 334 | } + { |
360 | 335 | // benchmarks executed via Java embedding driver |
361 | 336 | [bench]: bench_task(bench) + platform_spec(no_jobs) + bench_variants({ |
|
383 | 358 | "vm_name:pypy" : {"linux:amd64:jdk-latest" : on_demand + t("01:00:00")}, |
384 | 359 | }), |
385 | 360 | for bench in ["warmup"] |
386 | | - } + { |
387 | | - [bench + "-bytecode-dsl"]: bench_task(bench) + bytecode_dsl_bench + platform_spec(no_jobs) + bench_variants({ |
388 | | - "vm_name:graalvm_ee_default_bc_dsl" : {"linux:amd64:jdk-latest" : on_demand + t("05:00:00") + forks_warmup}, |
389 | | - "vm_name:graalpython_enterprise_bc_dsl" : {"linux:amd64:jdk-latest" : on_demand + t("05:00:00") + forks_warmup}, |
390 | | - }), |
391 | | - for bench in ["warmup"] |
392 | 361 | } + { |
393 | 362 | [bench]: bench_task(bench) + platform_spec(no_jobs) + bench_variants({ |
394 | 363 | "vm_name:graalvm_ee_default_interpreter" : {"linux:amd64:jdk-latest" : post_merge + t("02:00:00") + need_pgo}, |
395 | 364 | "vm_name:graalpython_enterprise_interpreter" : {"linux:amd64:jdk-latest" : weekly + t("02:00:00")}, |
396 | 365 | "vm_name:cpython" : {"linux:amd64:jdk-latest" : weekly + t("01:00:00")}, |
397 | 366 | }), |
398 | 367 | for bench in ["heap", "micro_small_heap"] |
399 | | - } + { |
400 | | - [bench + "-bytecode-dsl"]: bench_task(bench) + bytecode_dsl_bench + platform_spec(no_jobs) + bench_variants({ |
401 | | - "vm_name:graalvm_ee_default_interpreter_bc_dsl" : {"linux:amd64:jdk-latest" : post_merge + t("02:00:00") + need_bc_pgo}, |
402 | | - "vm_name:graalpython_enterprise_interpreter_bc_dsl" : {"linux:amd64:jdk-latest" : weekly + t("02:00:00")}, |
403 | | - }), |
404 | | - for bench in ["heap", "micro_small_heap"] |
405 | 368 | } + { |
406 | 369 | // interop benchmarks only for graalpython, weekly is enough |
407 | 370 | [bench]: bench_task(bench) + platform_spec(no_jobs) + bench_variants({ |
|
427 | 390 | "vm_name:pypy_launcher" : {"linux:amd64:jdk-latest" : on_demand + t("08:00:00")}, |
428 | 391 | }), |
429 | 392 | for bench in ["pyperformance"] |
430 | | - } + { |
431 | | - // Bytecode DSL benchmarks with community benchmark suites for external numbers |
432 | | - [bench + "-bytecode-dsl"]: bench_task(bench, PY_BENCHMARKS) + bytecode_dsl_bench + platform_spec(no_jobs) + raw_results + bench_variants({ |
433 | | - "vm_name:graalvm_ee_default_bc_dsl" : {"linux:amd64:jdk-latest" : weekly + t("08:00:00")}, |
434 | | - }), |
435 | | - for bench in ["pyperformance"] |
436 | 393 | } + { |
437 | 394 | // benchmarks with community benchmark suites for external numbers |
438 | 395 | [bench]: bench_task(bench, PY_BENCHMARKS) + platform_spec(no_jobs) + raw_results + bench_variants({ |
|
0 commit comments