-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GR-58956] [GR-59164] [GR-58956] Backport to 24.1: Add barista benchm…
…ark suite. PullRequest: graal/19129
- Loading branch information
Showing
8 changed files
with
623 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
// convenient sets of benchmark suites for easy reuse | ||
groups:: { | ||
open_suites:: unique_suites([$.awfy, $.dacapo, $.scala_dacapo, $.renaissance]), | ||
open_suites:: unique_suites([$.awfy, $.dacapo, $.scala_dacapo, $.renaissance, $.barista]), | ||
spec_suites:: unique_suites([$.specjvm2008, $.specjbb2015]), | ||
jmh_micros_suites:: unique_suites([$.micros_graal_dist]), | ||
graal_internals_suites:: unique_suites([$.micros_graal_whitebox]), | ||
|
@@ -112,6 +112,47 @@ | |
|
||
renaissance: self.renaissance_template(), | ||
|
||
barista_template(suite_version=null, suite_name="barista", max_jdk_version=null, cmd_app_prefix=["hwloc-bind --cpubind node:0.core:0-3.pu:0 --membind node:0"], non_prefix_barista_args=[]):: cc.compiler_benchmark + { | ||
suite:: suite_name, | ||
local barista_version = "v0.2.0", | ||
local suite_version_args = if suite_version != null then ["--bench-suite-version=" + suite_version] else [], | ||
local prefix_barista_arg = if std.length(cmd_app_prefix) > 0 then [std.format("--cmd-app-prefix=%s", std.join(" ", cmd_app_prefix))] else [], | ||
local all_barista_args = prefix_barista_arg + non_prefix_barista_args, | ||
local barista_args_with_separator = if std.length(all_barista_args) > 0 then ["--"] + all_barista_args else [], | ||
downloads+: { | ||
"WRK": { "name": "wrk", "version": "a211dd5", platformspecific: true}, | ||
"WRK2": { "name": "wrk2", "version": "2.1", platformspecific: true}, | ||
"BARISTA_BENCHMARKS": { "name": "barista", "version": "0.2.0"} | ||
}, | ||
packages+: { | ||
maven: "==3.8.6", | ||
"pip:toml": "==0.10.2" | ||
}, | ||
setup: [ | ||
["set-export", "PATH", "$WRK:$PATH"], | ||
["set-export", "PATH", "$WRK2:$PATH"], | ||
["git", "clone", "--depth", "1", "--branch", barista_version, ["mx", "urlrewrite", "https://github.com/graalvm/barista-suite.git"], "$BARISTA_HOME"], | ||
["cp", "-r", "$BARISTA_BENCHMARKS/*", "$BARISTA_HOME"] // copy the prebuilt jar/nib files | ||
] + super.setup, | ||
run+: [ | ||
self.benchmark_cmd + ["barista:*"] + suite_version_args + ["--"] + self.extra_vm_args + barista_args_with_separator | ||
], | ||
notify_emails+: ["[email protected]"], | ||
timelimit: "1:20:00", | ||
should_use_hwloc: false, // hwloc-bind is passed to barista with '--cmd-app-prefix' | ||
environment+: { | ||
BARISTA_HOME: "$BUILD_DIR/barista-suite", | ||
XMX: "500m" | ||
}, | ||
min_jdk_version:: 8, | ||
max_jdk_version:: max_jdk_version, | ||
forks_batches:: 3, | ||
bench_forks_per_batch:: 4, | ||
forks_timelimit:: "3:30:00" | ||
}, | ||
|
||
barista: self.barista_template(), | ||
|
||
specjbb2015: cc.compiler_benchmark + c.heap.large_with_large_young_gen + bc.bench_max_threads + { | ||
suite:: "specjbb2015", | ||
downloads+: { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters