Skip to content

Commit 29f2d1f

Browse files
committed
[GR-50987] Unify bench-suite name in data collection
PullRequest: graal/16511
2 parents d6feabf + 9c8633f commit 29f2d1f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

java-benchmarks/mx.java-benchmarks/mx_java_benchmarks.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,9 @@ class SpecJvm2008BenchmarkSuite(mx_benchmark.JavaBenchmarkSuite, mx_benchmark.Te
12731273
def name(self):
12741274
return "specjvm2008"
12751275

1276+
def benchSuiteName(self, bmSuiteArgs=None):
1277+
return self.name()
1278+
12761279
def group(self):
12771280
return "Graal"
12781281

@@ -1364,9 +1367,8 @@ def flakySuccessPatterns(self):
13641367
return []
13651368

13661369
def rules(self, out, benchmarks, bmSuiteArgs):
1367-
suite_name = self.name()
1368-
if benchmarks and len(benchmarks) == 1:
1369-
suite_name = suite_name + "-single"
1370+
# For historical reasons, we have the suffix. Dropping the suffix would require data migration.
1371+
suite_name = self.benchSuiteName() + "-single"
13701372
return [
13711373
mx_benchmark.StdOutRule(
13721374
r"^Score on (?P<benchmark>[a-zA-Z0-9\._]+): (?P<score>[0-9]+((,|\.)[0-9]+)?) ops/m$", # pylint: disable=line-too-long

0 commit comments

Comments
 (0)