Skip to content

Commit 6273c16

Browse files
committed
[GR-65234] Reduce JMH profile runs to 3 seconds.
PullRequest: graal/21308
2 parents 126dffb + 996b68c commit 6273c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/mx.compiler/mx_graal_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def extra_agent_run_arg(self, benchmark, args, image_run_args):
296296
def extra_profile_run_arg(self, benchmark, args, image_run_args, should_strip_run_args):
297297
# Don't waste time profiling the same code but still wait for compilation on HotSpot.
298298
user_args = super(JMHNativeImageBenchmarkMixin, self).extra_profile_run_arg(benchmark, args, image_run_args, should_strip_run_args)
299-
return ['-f0', '-wi', '1', '-i5'] + mx_sdk_benchmark.strip_args_with_number(['-f', '-wi', '-i'], user_args)
299+
return ['-f0', '-wi', '1', '-i3'] + mx_sdk_benchmark.strip_args_with_number(['-f', '-wi', '-i'], user_args)
300300

301301
def benchmarkName(self):
302302
return self.name()

0 commit comments

Comments
 (0)