|
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", |
|
117 | 117 | "darwin:aarch64:jdk-latest" : tier3 + provide(GPY_JVM_STANDALONE), |
118 | 118 | "windows:amd64:jdk-latest" : tier3 + provide(GPY_JVM_STANDALONE), |
119 | 119 | }), |
120 | | - "python-unittest-bytecode-dsl": gpgate + platform_spec(no_jobs) + bytecode_dsl_gate("python-unittest") + platform_spec({ |
| 120 | + "python-unittest-manual-interpreter": gpgate + platform_spec(no_jobs) + manual_interpreter_gate("python-unittest") + platform_spec({ |
121 | 121 | "linux:amd64:jdk-latest" : daily + t("01:00:00"), |
122 | 122 | "linux:aarch64:jdk-latest" : daily + t("01:00:00"), |
123 | 123 | "darwin:aarch64:jdk-latest" : daily + t("01:00:00"), |
|
171 | 171 | "darwin:aarch64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
172 | 172 | "windows:amd64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
173 | 173 | }), |
174 | | - "python-junit-bytecode-dsl": gpgate + platform_spec(no_jobs) + bytecode_dsl_gate("python-junit") + platform_spec({ |
| 174 | + "python-junit-manual-interpreter": gpgate + platform_spec(no_jobs) + manual_interpreter_gate("python-junit") + platform_spec({ |
175 | 175 | "linux:amd64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
176 | 176 | }), |
177 | 177 | "python-junit-maven": gpgate_maven + platform_spec(no_jobs) + platform_spec({ |
|
205 | 205 | ], |
206 | 206 | }), |
207 | 207 | }), |
208 | | - "python-pgo-profile-bytecode-dsl": gpgate_ee + bytecode_dsl_env + platform_spec(no_jobs) + platform_spec({ |
209 | | - "linux:amd64:jdk-latest" : post_merge + t("01:30:00") + task_spec({ |
210 | | - run: [["mx", "python-native-pgo"]], |
211 | | - logs+: [ |
212 | | - "default-bytecode-dsl.iprof.gz", |
213 | | - "default-bytecode-dsl.lcov", |
214 | | - ], |
215 | | - }), |
216 | | - }), |
217 | 208 | "python-svm-unittest": gpgate + platform_spec(no_jobs) + platform_spec({ |
218 | 209 | "linux:amd64:jdk-latest" : tier2 + require(GPY_NATIVE_STANDALONE), |
219 | 210 | "linux:aarch64:jdk-latest" : tier3 + require(GPY_NATIVE_STANDALONE), |
220 | 211 | "darwin:aarch64:jdk-latest" : tier3 + require(GPY_NATIVE_STANDALONE), |
221 | 212 | "windows:amd64:jdk-latest" : tier3 + require(GPY_NATIVE_STANDALONE) + batches(2), |
222 | 213 | }), |
223 | | - "python-svm-unittest-bytecode-dsl": gpgate + platform_spec(no_jobs) + bytecode_dsl_gate("python-svm-unittest") + platform_spec({ |
224 | | - "linux:amd64:jdk-latest" : tier2 + provide(GPY_NATIVE_BYTECODE_DSL_STANDALONE), |
| 214 | + "python-svm-unittest-manual-interpreter": gpgate + platform_spec(no_jobs) + manual_interpreter_gate("python-svm-unittest") + platform_spec({ |
| 215 | + "linux:amd64:jdk-latest" : tier2, |
225 | 216 | }), |
226 | 217 | "python-tagged-unittest": gpgate + require(GPY_NATIVE_STANDALONE) + batches(TAGGED_UNITTESTS_SPLIT) + platform_spec(no_jobs) + platform_spec({ |
227 | 218 | "linux:amd64:jdk-latest" : tier2, |
228 | 219 | "linux:aarch64:jdk-latest" : tier3, |
229 | 220 | "darwin:aarch64:jdk-latest" : tier3, |
230 | 221 | "windows:amd64:jdk-latest" : daily + t("02:00:00"), |
231 | 222 | }), |
232 | | - "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({ |
233 | | - "linux:amd64:jdk-latest" : tier3, |
234 | | - }), |
235 | 223 | "python-graalvm": gpgate + platform_spec(no_jobs) + platform_spec({ |
236 | 224 | "linux:amd64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
237 | 225 | "linux:aarch64:jdk-latest" : tier3 + require(GRAAL_JDK_LATEST), |
|
289 | 277 | }, |
290 | 278 |
|
291 | 279 | local need_pgo = task_spec({runAfter: ["python-pgo-profile-post_merge-linux-amd64-jdk-latest"]}), |
292 | | - local need_bc_pgo = task_spec({runAfter: ["python-pgo-profile-bytecode-dsl-post_merge-linux-amd64-jdk-latest"]}), |
293 | 280 | local forks_warmup = forks("./mx.graalpython/warmup-fork-counts.json"), |
294 | 281 | local forks_meso = forks("meso.json"), |
295 | 282 | local raw_results = task_spec({ |
|
316 | 303 | "vm_name:pypy" : {"linux:amd64:jdk-latest" : on_demand + t("04:00:00")}, |
317 | 304 | }), |
318 | 305 | for bench in ["micro", "meso", "macro"] |
319 | | - } + { |
320 | | - [bench + "-bytecode-dsl"]: bench_task(bench) + bytecode_dsl_bench + platform_spec(no_jobs) + bench_variants({ |
321 | | - "vm_name:graalvm_ee_default_bc_dsl" : {"linux:amd64:jdk-latest" : daily + t("08:00:00")}, |
322 | | - "vm_name:graalpython_enterprise_bc_dsl" : {"linux:amd64:jdk-latest" : daily + t("08:00:00")}, |
323 | | - }), |
324 | | - for bench in ["micro", "meso", "macro"] |
325 | 306 | } + { |
326 | 307 | [bench]: bench_task(bench) + platform_spec(no_jobs) + bench_variants({ |
327 | 308 | "vm_name:graalvm_ce_default" : {"linux:amd64:jdk-latest" : on_demand + t("08:00:00")}, |
|
351 | 332 | "vm_name:cpython" : {"linux:amd64:jdk-latest" : weekly + t("02:00:00")}, |
352 | 333 | }), |
353 | 334 | for bench in ["micro_small", "meso_small"] |
354 | | - } + { |
355 | | - [bench + "-bytecode-dsl"]: bench_task(bench) + bytecode_dsl_bench + platform_spec(no_jobs) + bench_variants({ |
356 | | - "vm_name:graalvm_ee_default_interpreter_bc_dsl" : {"linux:amd64:jdk-latest" : daily + t("04:00:00")}, |
357 | | - "vm_name:graalpython_enterprise_interpreter_bc_dsl" : {"linux:amd64:jdk-latest" : weekly + t("04:00:00")}, |
358 | | - }), |
359 | | - for bench in ["micro_small", "meso_small"] |
360 | 335 | } + { |
361 | 336 | // benchmarks executed via Java embedding driver |
362 | 337 | [bench]: bench_task(bench) + platform_spec(no_jobs) + bench_variants({ |
|
384 | 359 | "vm_name:pypy" : {"linux:amd64:jdk-latest" : on_demand + t("01:00:00")}, |
385 | 360 | }), |
386 | 361 | for bench in ["warmup"] |
387 | | - } + { |
388 | | - [bench + "-bytecode-dsl"]: bench_task(bench) + bytecode_dsl_bench + platform_spec(no_jobs) + bench_variants({ |
389 | | - "vm_name:graalvm_ee_default_bc_dsl" : {"linux:amd64:jdk-latest" : on_demand + t("05:00:00") + forks_warmup}, |
390 | | - "vm_name:graalpython_enterprise_bc_dsl" : {"linux:amd64:jdk-latest" : on_demand + t("05:00:00") + forks_warmup}, |
391 | | - }), |
392 | | - for bench in ["warmup"] |
393 | 362 | } + { |
394 | 363 | [bench]: bench_task(bench) + platform_spec(no_jobs) + bench_variants({ |
395 | 364 | "vm_name:graalvm_ee_default_interpreter" : {"linux:amd64:jdk-latest" : post_merge + t("02:00:00") + need_pgo}, |
396 | 365 | "vm_name:graalpython_enterprise_interpreter" : {"linux:amd64:jdk-latest" : weekly + t("02:00:00")}, |
397 | 366 | "vm_name:cpython" : {"linux:amd64:jdk-latest" : weekly + t("01:00:00")}, |
398 | 367 | }), |
399 | 368 | for bench in ["heap", "micro_small_heap"] |
400 | | - } + { |
401 | | - [bench + "-bytecode-dsl"]: bench_task(bench) + bytecode_dsl_bench + platform_spec(no_jobs) + bench_variants({ |
402 | | - "vm_name:graalvm_ee_default_interpreter_bc_dsl" : {"linux:amd64:jdk-latest" : post_merge + t("02:00:00") + need_bc_pgo}, |
403 | | - "vm_name:graalpython_enterprise_interpreter_bc_dsl" : {"linux:amd64:jdk-latest" : weekly + t("02:00:00")}, |
404 | | - }), |
405 | | - for bench in ["heap", "micro_small_heap"] |
406 | 369 | } + { |
407 | 370 | // interop benchmarks only for graalpython, weekly is enough |
408 | 371 | [bench]: bench_task(bench) + platform_spec(no_jobs) + bench_variants({ |
|
428 | 391 | "vm_name:pypy_launcher" : {"linux:amd64:jdk-latest" : on_demand + t("08:00:00")}, |
429 | 392 | }), |
430 | 393 | for bench in ["pyperformance"] |
431 | | - } + { |
432 | | - // Bytecode DSL benchmarks with community benchmark suites for external numbers |
433 | | - [bench + "-bytecode-dsl"]: bench_task(bench, PY_BENCHMARKS) + bytecode_dsl_bench + platform_spec(no_jobs) + raw_results + bench_variants({ |
434 | | - "vm_name:graalvm_ee_default_bc_dsl" : {"linux:amd64:jdk-latest" : weekly + t("08:00:00")}, |
435 | | - }), |
436 | | - for bench in ["pyperformance"] |
437 | 394 | } + { |
438 | 395 | // benchmarks with community benchmark suites for external numbers |
439 | 396 | [bench]: bench_task(bench, PY_BENCHMARKS) + platform_spec(no_jobs) + raw_results + bench_variants({ |
|
0 commit comments