Skip to content

Commit

Permalink
[Truffle] Benchmark cexts.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Nov 18, 2016
1 parent 525010e commit 9f5aab4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions ci.hocon
Expand Up @@ -208,6 +208,13 @@ jruby-truffle: {
}
}

jruby-truffle-cexts: {
environment: {
GUEST_VM: jruby,
GUEST_VM_CONFIG: truffle-cexts,
}
}

gate-caps: {
capabilities: [linux, amd64]
targets: [gate, post-push]
Expand Down Expand Up @@ -326,6 +333,20 @@ server-benchmarks: {
timelimit: "00:20:00"
}

cext-benchmarks: ${sulong} {
setup: ${sulong.setup} ${gem-test-pack.setup} ${bench.setup} [
${jt} [cextc, ../ruby-benchmarks/chunky_png/oily_png],
${jt} [cextc, ../ruby-benchmarks/psd.rb/psd_native]
]

run: [
${bench.cmd} [chunky]
] ${post-process-and-upload-results} [
${bench.cmd} [psd]
] ${post-process-and-upload-results}
timelimit: "02:00:00"
}

gem-test-pack: {
environment: {
GEM_HOME: ../jruby-truffle-gem-test-pack/gems
Expand Down Expand Up @@ -459,5 +480,7 @@ builds: [
{name: ruby-benchmarks-server-graal-vm-snapshot} ${common} ${graal-vm-snapshot} ${bench-caps} ${jruby-truffle} ${server-benchmarks},
{name: ruby-benchmarks-server-graal-vm-release} ${common} ${graal-vm-release} ${bench-caps} ${jruby-truffle} ${server-benchmarks},

{name: ruby-benchmarks-cext} ${common} ${daily-gate-caps} ${jruby-truffle-cexts} ${cext-benchmarks},

{name: ruby-deploy-binaries} ${common} ${gate-caps} ${deployBinaries}
]

0 comments on commit 9f5aab4

Please sign in to comment.