Skip to content

Commit 9f5aab4

Browse files
committed
[Truffle] Benchmark cexts.
1 parent 525010e commit 9f5aab4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

ci.hocon

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,13 @@ jruby-truffle: {
208208
}
209209
}
210210

211+
jruby-truffle-cexts: {
212+
environment: {
213+
GUEST_VM: jruby,
214+
GUEST_VM_CONFIG: truffle-cexts,
215+
}
216+
}
217+
211218
gate-caps: {
212219
capabilities: [linux, amd64]
213220
targets: [gate, post-push]
@@ -326,6 +333,20 @@ server-benchmarks: {
326333
timelimit: "00:20:00"
327334
}
328335

336+
cext-benchmarks: ${sulong} {
337+
setup: ${sulong.setup} ${gem-test-pack.setup} ${bench.setup} [
338+
${jt} [cextc, ../ruby-benchmarks/chunky_png/oily_png],
339+
${jt} [cextc, ../ruby-benchmarks/psd.rb/psd_native]
340+
]
341+
342+
run: [
343+
${bench.cmd} [chunky]
344+
] ${post-process-and-upload-results} [
345+
${bench.cmd} [psd]
346+
] ${post-process-and-upload-results}
347+
timelimit: "02:00:00"
348+
}
349+
329350
gem-test-pack: {
330351
environment: {
331352
GEM_HOME: ../jruby-truffle-gem-test-pack/gems
@@ -459,5 +480,7 @@ builds: [
459480
{name: ruby-benchmarks-server-graal-vm-snapshot} ${common} ${graal-vm-snapshot} ${bench-caps} ${jruby-truffle} ${server-benchmarks},
460481
{name: ruby-benchmarks-server-graal-vm-release} ${common} ${graal-vm-release} ${bench-caps} ${jruby-truffle} ${server-benchmarks},
461482

483+
{name: ruby-benchmarks-cext} ${common} ${daily-gate-caps} ${jruby-truffle-cexts} ${cext-benchmarks},
484+
462485
{name: ruby-deploy-binaries} ${common} ${gate-caps} ${deployBinaries}
463486
]

0 commit comments

Comments
 (0)