Skip to content

Commit

Permalink
[GR-12526] Schedule the new benchmarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ansalond committed Nov 20, 2018
1 parent bb08a7b commit 8d72ce1
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ include "ci_includes/publish-javadoc.hocon"
# ------------------- VM ----------------------
include "vm/ci_common/common.hocon"
include "vm/ci_includes/vm.hocon"
include "vm/ci_includes/vm-bench.hocon"
include "vm/ci_includes/vm-bench-sulong.hocon"
24 changes: 24 additions & 0 deletions vm/ci_common/common.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,30 @@ gate_vm_darwin: ${vm_darwin} {
targets: [gate]
}

bench_vm_linux: ${vm_linux} {
targets: [bench, post-merge]
}

bench_vm_darwin: ${vm_darwin} {
targets: [bench, post-merge]
}

bench_daily_vm_linux: ${vm_linux} {
targets: [bench, daily]
}

bench_daily_vm_darwin: ${vm_darwin} {
targets: [bench, daily]
}

deploy_vm_linux: ${vm_linux} {
targets: [deploy, post-merge]
}

deploy_daily_vm_darwin: ${vm_darwin} {
targets: [deploy, daily]
}

deploy_vm_linux: ${vm_linux} {
targets: [deploy, post-merge]
}
Expand Down
24 changes: 24 additions & 0 deletions vm/ci_includes/vm-bench.hocon
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
bench_vm_linux_base: ${svm-common-linux-amd64} ${sulong_linux} ${custom_vm_linux} ${common_vm_linux} { # repeat 'common_vm_linux' to override packages loaded by 'svm-common-linux'
resultFile: results.json
setup: ${common_vm.setup} [
[mx, --strip-jars, --no-sources, --env, ce, build]
]
on_success: [
[bench-uploader.py, --url, "$BENCH_SERVER_URL", ${bench_vm_linux_base.resultFile}]
]
logs: [${bench_vm_linux_base.resultFile}]
capabilities: [no_frequency_scaling, tmpfs25g, x52, linux, amd64]
}

builds += [
${bench_vm_linux} ${bench_vm_linux_base} {
setup: ${common_vm.setup} [
[mx, --strip-jars, --no-sources, --env, ce-no_native, build]
]
run: [
[mx, --strip-jars, --no-sources, --env, ce-no_native, benchmark, --results-file, ${bench_vm_linux_base.resultFile}, "gu:*"]
]
name: bench-vm-ce-no-native-gu-linux
timelimit: "1:00:00"
}
]

0 comments on commit 8d72ce1

Please sign in to comment.