Skip to content

Commit eacbea8

Browse files
committed
[GR-31075] Add bench-suite default datapoint for benchmarks.
PullRequest: graal/8898
2 parents 48d7e7f + 2592dcb commit eacbea8

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

vm/mx.vm/mx_vm_benchmark.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ class NativeImageHexToInt(object):
390390
def __call__(self, *args, **kwargs):
391391
return int(args[0], 16)
392392

393-
suiteName = self.bmSuite.name() if self.bmSuite else ""
394393
return [
395394
mx_benchmark.StdOutRule(
396395
r"The executed image size for benchmark (?P<bench_suite>[a-zA-Z0-9_\-]+):(?P<benchmark>[a-zA-Z0-9_\-]+) is (?P<value>[0-9]+) B",
@@ -422,7 +421,6 @@ def __call__(self, *args, **kwargs):
422421
"metric.object": ("<type>", str)
423422
}),
424423
mx_benchmark.StdOutRule(r'^\[\S+:[0-9]+\][ ]+\[total\]:[ ]+(?P<time>[0-9,.]+?) ms', {
425-
"bench-suite": suiteName,
426424
"benchmark": benchmarks[0],
427425
"metric.name": "compile-time",
428426
"metric.type": "numeric",
@@ -434,7 +432,6 @@ def __call__(self, *args, **kwargs):
434432
"metric.object": "total",
435433
}),
436434
mx_benchmark.StdOutRule(r'^\[\S+:[0-9]+\][ ]+(?P<phase>\w+?):[ ]+(?P<time>[0-9,.]+?) ms', {
437-
"bench-suite": suiteName,
438435
"benchmark": benchmarks[0],
439436
"metric.name": "compile-time",
440437
"metric.type": "numeric",
@@ -446,7 +443,6 @@ def __call__(self, *args, **kwargs):
446443
"metric.object": ("<phase>", str),
447444
}),
448445
mx_benchmark.StdOutRule(r'^[ ]*[0-9]+[ ]+.(?P<section>[a-zA-Z0-9._-]+?)[ ]+(?P<size>[0-9a-f]+?)[ ]+', {
449-
"bench-suite": suiteName,
450446
"benchmark": benchmarks[0],
451447
"metric.name": "binary-section-size",
452448
"metric.type": "numeric",
@@ -458,7 +454,6 @@ def __call__(self, *args, **kwargs):
458454
"metric.object": ("<section>", str),
459455
}),
460456
mx_benchmark.JsonStdOutFileRule(r'^# Printing analysis results stats to: (?P<path>\S+?)$', 'path', {
461-
"bench-suite": suiteName,
462457
"benchmark": benchmarks[0],
463458
"metric.name": "analysis-stats",
464459
"metric.type": "numeric",
@@ -470,7 +465,6 @@ def __call__(self, *args, **kwargs):
470465
"metric.object": "reachable-types",
471466
}, ['total_reachable_types']),
472467
mx_benchmark.JsonStdOutFileRule(r'^# Printing analysis results stats to: (?P<path>\S+?)$', 'path', {
473-
"bench-suite": suiteName,
474468
"benchmark": benchmarks[0],
475469
"metric.name": "analysis-stats",
476470
"metric.type": "numeric",
@@ -482,7 +476,6 @@ def __call__(self, *args, **kwargs):
482476
"metric.object": "reachable-methods",
483477
}, ['total_reachable_methods']),
484478
mx_benchmark.JsonStdOutFileRule(r'^# Printing analysis results stats to: (?P<path>\S+?)$', 'path', {
485-
"bench-suite": suiteName,
486479
"benchmark": benchmarks[0],
487480
"metric.name": "analysis-stats",
488481
"metric.type": "numeric",
@@ -494,7 +487,6 @@ def __call__(self, *args, **kwargs):
494487
"metric.object": "reachable-fields",
495488
}, ['total_reachable_fields']),
496489
mx_benchmark.JsonStdOutFileRule(r'^# Printing analysis results stats to: (?P<path>\S+?)$', 'path', {
497-
"bench-suite": suiteName,
498490
"benchmark": benchmarks[0],
499491
"metric.name": "analysis-stats",
500492
"metric.type": "numeric",

vm/mx.vm/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
suite = {
22
"name": "vm",
33
"version" : "21.2.0",
4-
"mxversion" : "5.297.1",
4+
"mxversion" : "5.299.0",
55
"release" : False,
66
"groupId" : "org.graalvm",
77

0 commit comments

Comments
 (0)