Skip to content

Commit c481a72

Browse files
committed
fix stdout rule to match C benchmarks
1 parent a4a06f6 commit c481a72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def rules(self, output, benchmarks, bm_suite_args):
319319
return [
320320
# warmup curves
321321
StdOutRule(
322-
r"^### iteration=(?P<iteration>[0-9]+), name=(?P<benchmark>[a-zA-Z0-9.\-]+), duration=(?P<time>[0-9]+(\.[0-9]+)?$)", # pylint: disable=line-too-long
322+
r"^### iteration=(?P<iteration>[0-9]+), name=(?P<benchmark>[a-zA-Z0-9._\-]+), duration=(?P<time>[0-9]+(\.[0-9]+)?$)", # pylint: disable=line-too-long
323323
{
324324
"benchmark": '{}.{}'.format(self._name, bench_name),
325325
"metric.name": "warmup",
@@ -334,7 +334,7 @@ def rules(self, output, benchmarks, bm_suite_args):
334334
),
335335
# no warmups
336336
StdOutRule(
337-
r"^@@@ name=(?P<benchmark>[a-zA-Z0-9.\-]+), duration=(?P<time>[0-9]+(\.[0-9]+)?$)", # pylint: disable=line-too-long
337+
r"^@@@ name=(?P<benchmark>[a-zA-Z0-9._\-]+), duration=(?P<time>[0-9]+(\.[0-9]+)?$)", # pylint: disable=line-too-long
338338
{
339339
"benchmark": '{}.{}'.format(self._name, bench_name),
340340
"metric.name": "time",

0 commit comments

Comments
 (0)