Skip to content

Commit 0951a04

Browse files
author
Andrija Kolic
committed
[GR-70028] Update PolybenchBenchSuite to run multiple and customized forks and produce outlier excluded average datapoints after all forks
PullRequest: graal/22241
2 parents 7ee44e4 + 5298e44 commit 0951a04

File tree

4 files changed

+409
-42
lines changed

4 files changed

+409
-42
lines changed

common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Jsonnet files should not include this file directly but use ci/common.jsonnet instead."
55
],
66

7-
"mx_version": "7.62.2",
7+
"mx_version": "7.64.0",
88

99
"COMMENT.jdks": "When adding or removing JDKs keep in sync with JDKs in ci/common.jsonnet",
1010
"jdks": {

sdk/mx.sdk/mx_sdk_benchmark.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
import mx_sdk_vm_impl
7373
import mx_util
7474
from mx_util import Stage, StageName, Layer
75-
from mx_benchmark import DataPoints, DataPoint, BenchmarkSuite, Vm, SingleBenchmarkExecutionContext
75+
from mx_benchmark import DataPoints, DataPoint, BenchmarkSuite, Vm, SingleBenchmarkExecutionContext, ForkInfo
7676
from mx_sdk_vm_impl import svm_experimental_options
7777

7878
_suite = mx.suite('sdk')
@@ -3061,8 +3061,8 @@ def validateEnvironment(self):
30613061
self.baristaProjectConfigurationPath()
30623062
self.baristaHarnessPath()
30633063

3064-
def new_execution_context(self, vm: Vm, benchmarks: List[str], bmSuiteArgs: List[str]) -> SingleBenchmarkExecutionContext:
3065-
return SingleBenchmarkExecutionContext(self, vm, benchmarks, bmSuiteArgs)
3064+
def new_execution_context(self, vm: Optional[Vm], benchmarks: List[str], bmSuiteArgs: List[str], fork_info: Optional[ForkInfo] = None) -> SingleBenchmarkExecutionContext:
3065+
return SingleBenchmarkExecutionContext(self, vm, benchmarks, bmSuiteArgs, fork_info)
30663066

30673067
def createCommandLineArgs(self, benchmarks, bmSuiteArgs):
30683068
# Pass the VM options, BaristaCommand will form the final command.

0 commit comments

Comments
 (0)