Skip to content

Commit 0753676

Browse files
committed
Use succinct option format.
1 parent e5e8977 commit 0753676

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

graalpython/com.oracle.graal.python.benchmarks/python/micro/phase_shift_warmup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ def __benchmark__(phase1it=0, phase2it=0):
4949
break
5050
tt: int = 0
5151
result = subprocess.run([*orig_vm_argv,
52-
"--vm.Dpolyglot.engine.AllowExperimentalOptions=true",
53-
"--vm.Dpolyglot.engine.CompilerIdleDelay=0",
54-
"--vm.Dpolyglot.engine.CompilerThreads=1",
52+
"--experimental-options",
53+
"--engine.CompilerThreads=1",
5554
re.sub(r'harness\.py', "micro/phase_shift_script.py", sys.argv[0]), str(phase1it), str(phase2it)], capture_output=True, text=True, check=False)
5655
m = re.search(r"LAST_200_IT_TIME = (\d+) ms", result.stdout)
5756
if m:

graalpython/com.oracle.graal.python.benchmarks/python/micro/phase_shift_warmup_baseline.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ def __benchmark__(phase2it=0):
4949
break
5050
tt: int = 0
5151
result = subprocess.run([*orig_vm_argv,
52-
"--vm.Dpolyglot.engine.AllowExperimentalOptions=true",
53-
"--vm.Dpolyglot.engine.CompilerIdleDelay=0",
54-
"--vm.Dpolyglot.engine.CompilerThreads=1",
52+
"--experimental-options",
53+
"--engine.CompilerThreads=1",
5554
re.sub(r'harness\.py', "micro/phase_shift_script_baseline.py", sys.argv[0]), str(phase2it)], capture_output=True, text=True, check=False)
5655
m = re.search(r"LAST_200_IT_TIME = (\d+) ms", result.stdout)
5756
if m:

0 commit comments

Comments
 (0)