@@ -60,6 +60,17 @@ local common = import '../common.jsonnet';
6060 timelimit: '30:00' ,
6161 },
6262
63+ local nativeImageGraalTip = graalTip + {
64+ local baseNativeImageCmd = ['mx' , '--dynamicimports' , '/substratevm' , '--native-images=js' ],
65+ run+: [
66+ ['git' , 'clone' , '--depth' , '1' , ['mx' , 'urlrewrite' , 'https://github.com/graalvm/js-benchmarks.git' ], '../../js-benchmarks' ],
67+ baseNativeImageCmd + ['build' ],
68+ ['set-export' , 'GRAALVM_HOME' , baseNativeImageCmd + ['graalvm-home' ]],
69+ ['${GRAALVM_HOME}/bin/js' , '-e' , 'print("hello:" + Array.from(new Array(10), (x,i) => i*i ).join("|"))' ],
70+ ['${GRAALVM_HOME}/bin/js' , '../../js-benchmarks/harness.js' , '--' , '../../js-benchmarks/octane-richards.js' , '--show-warmup' ],
71+ ],
72+ },
73+
6374 local benchmarkGraalTip = graalTip + {
6475 run+: [
6576 ['mx' , '--dynamicimports' , '/compiler' , 'build' , '--force-javac' ],
@@ -100,6 +111,7 @@ local common = import '../common.jsonnet';
100111 graalJs + common.jdk8 + common.gate + common.linux + gateGraalTip + {environment+: {GATE_TAGS: 'shareengine' }} + {name: 'js-gate-shareengine-graal-tip-jdk8-linux-amd64' },
101112 graalJs + common.jdk8 + common.gate + common.linux + gateGraalTip + {environment+: {GATE_TAGS: 'latestesversion' }} + {name: 'js-gate-latestesversion-graal-tip-jdk8-linux-amd64' },
102113 graalJs + common.jdk8 + common.gate + common.linux + gateGraalImport + {environment+: {GATE_TAGS: 'tck,build' }} + {name: 'js-gate-tck-build-graal-import-jdk8-linux-amd64' },
114+ graalJs + common.jdk8 + common.gate + common.linux + nativeImageGraalTip + {name: 'js-gate-native-image-graal-tip-jdk8-linux-amd64' },
103115
104116 // jdk 8 - coverage
105117 graalJs + common.jdk8 + common.weekly + common.linux + gateCoverage + {environment+: {GATE_TAGS: 'build,default,tck' }} + {name: 'js-coverage-jdk8-linux-amd64' },
0 commit comments