Skip to content

Commit fb10b0e

Browse files
committed
Remove -snapshot-startup from startup benchmark
1 parent 97914d6 commit fb10b0e

File tree

1 file changed

+4
-0
lines changed
  • graalpython/com.oracle.graal.python.benchmarks/python/micro

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ def __setup__(*args):
9898
if arg.endswith('.py'):
9999
ORIG_ARGV = ORIG_ARGV[:i]
100100
break
101+
try:
102+
ORIG_ARGV.remove('-snapshot-startup')
103+
except ValueError:
104+
pass
101105

102106

103107
def __teardown__():

0 commit comments

Comments
 (0)