make/build-benchmark.xml

Print this page




 228   <!-- run octane benchmarks using Nashorn as runtime -->
 229   <target name="octane" depends="octane-init">
 230     <antcall target="run-octane"/>
 231   </target>
 232 
 233   <!-- run octane benchmarks using octane as runtime -->
 234   <target name="octane-v8" depends="octane-init">
 235     <antcall target="run-octane-v8"/>
 236   </target>
 237 
 238   <!-- run octane benchmarks using Rhino as runtime -->
 239   <target name="octane-rhino" depends="octane-init">
 240     <antcall target="run-octane-rhino"/>
 241   </target>
 242   
 243   <target name="run-octane">
 244     <java classname="${nashorn.shell.tool}"
 245           classpath="${run.test.classpath}"
 246           fork="true"
 247           dir=".">
 248       <jvmarg line="${boot.class.path}"/>
 249       <jvmarg line="${ext.class.path}"/>
 250       <jvmarg line="${run.test.jvmargs.octane}"/>
 251       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 252       <arg value="--"/>
 253       <arg value="${octane-tests}"/>
 254       <arg value="--runtime"/>
 255       <arg value="Nashorn"/>
 256       <arg value="--verbose"/>
 257       <arg value="--iterations 8"/>
 258       <arg value="${extra-arg}"/>
 259     </java>
 260   </target>
 261 
 262   <target name="run-octane-v8">
 263     <exec executable="${v8.shell}">
 264       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 265       <arg value="--"/>
 266       <arg value="${octane-tests}"/>      
 267       <arg value="--runtime"/>
 268       <arg value="v8"/>
 269       <arg value="--verbose"/>
 270       <arg value="--iterations 8"/>
 271       <arg value="${extra-arg}"/>
 272     </exec>
 273   </target>
 274 
 275   <target name="run-octane-rhino">
 276     <java jar="${rhino.jar}"
 277           classpath="${run.test.classpath}"
 278           fork="true"
 279           dir=".">
 280       <jvmarg line="${boot.class.path}"/>
 281       <jvmarg line="${run.test.jvmargs.octane}"/>
 282       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 283       <arg value="${octane-tests}"/>
 284       <arg value="--runtime"/>
 285       <arg value="Rhino"/>
 286       <arg value="--verbose"/>
 287       <arg value="--iterations 8"/>
 288       <arg value="${extra-arg}"/>
 289     </java>
 290   </target>
 291 
 292   <!-- run octane with all known runtimes for comparison -->
 293   <target name="octane-all" depends="octane, octane-v8, octane-rhino">
 294     <exec executable="${v8.shell}">
 295       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 296       <arg value="${octane-tests}/"/>
 297     </exec>
 298   </target>
 299    
 300   <target name="sunspider-init" depends="jar">
 301     <fileset id="sunspider-set"
 302              dir="${sunspider-test-sys-prop.test.js.roots}"
 303              excludes="${sunspider-test-sys-prop.test.js.exclude.list}">
 304       <include name="**/*.js"/>
 305     </fileset>
 306     <pathconvert pathsep=" " property="sunspider-tests" refid="sunspider-set"/>
 307   </target>
 308 
 309   <!-- run sunspider with Nashorn -->
 310   <target name="sunspider" depends="sunspider-init">
 311     <java classname="${nashorn.shell.tool}"
 312           classpath="${run.test.classpath}"
 313           fork="true"
 314           dir=".">
 315       <jvmarg line="${boot.class.path}"/>
 316       <jvmarg line="${ext.class.path}"/>
 317       <jvmarg line="${run.test.jvmargs}"/>
 318       <arg value="-timezone=PST"/>
 319       <arg value="--class-cache-size=50"/>
 320       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 321       <arg value="--"/>
 322       <arg value="${sunspider-tests}/"/>
 323     </java>
 324   </target>
 325 
 326   <!-- run sunspider with v8 -->
 327   <target name="sunspider-v8" depends="sunspider-init">
 328     <exec executable="${v8.shell}">
 329       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 330       <arg value="--"/>
 331       <arg value="${sunspider-tests}/"/>
 332     </exec>
 333   </target>
 334 
 335   <!-- run sunspider with Rhino -->
 336   <target name="sunspider-rhino" depends="sunspider-init">
 337     <java jar="${rhino.jar}"
 338           classpath="${run.test.classpath}"
 339           fork="true"
 340           dir=".">
 341       <jvmarg line="${boot.class.path}"/>
 342       <jvmarg line="${run.test.jvmargs}"/>
 343       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 344       <arg value="${sunspider-tests}/"/>
 345     </java>
 346   </target>
 347 
 348 </project>


 228   <!-- run octane benchmarks using Nashorn as runtime -->
 229   <target name="octane" depends="octane-init">
 230     <antcall target="run-octane"/>
 231   </target>
 232 
 233   <!-- run octane benchmarks using octane as runtime -->
 234   <target name="octane-v8" depends="octane-init">
 235     <antcall target="run-octane-v8"/>
 236   </target>
 237 
 238   <!-- run octane benchmarks using Rhino as runtime -->
 239   <target name="octane-rhino" depends="octane-init">
 240     <antcall target="run-octane-rhino"/>
 241   </target>
 242   
 243   <target name="run-octane">
 244     <java classname="${nashorn.shell.tool}"
 245           classpath="${run.test.classpath}"
 246           fork="true"
 247           dir=".">

 248       <jvmarg line="${ext.class.path}"/>
 249       <jvmarg line="${run.test.jvmargs.octane}"/>
 250       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 251       <arg value="--"/>
 252       <arg value="${octane-tests}"/>
 253       <arg value="--runtime"/>
 254       <arg value="Nashorn"/>
 255       <arg value="--verbose"/>
 256       <arg value="--iterations 8"/>
 257       <arg value="${extra-arg}"/>
 258     </java>
 259   </target>
 260 
 261   <target name="run-octane-v8">
 262     <exec executable="${v8.shell}">
 263       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 264       <arg value="--"/>
 265       <arg value="${octane-tests}"/>      
 266       <arg value="--runtime"/>
 267       <arg value="v8"/>
 268       <arg value="--verbose"/>
 269       <arg value="--iterations 8"/>
 270       <arg value="${extra-arg}"/>
 271     </exec>
 272   </target>
 273 
 274   <target name="run-octane-rhino">
 275     <java jar="${rhino.jar}"
 276           classpath="${run.test.classpath}"
 277           fork="true"
 278           dir=".">

 279       <jvmarg line="${run.test.jvmargs.octane}"/>
 280       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 281       <arg value="${octane-tests}"/>
 282       <arg value="--runtime"/>
 283       <arg value="Rhino"/>
 284       <arg value="--verbose"/>
 285       <arg value="--iterations 8"/>
 286       <arg value="${extra-arg}"/>
 287     </java>
 288   </target>
 289 
 290   <!-- run octane with all known runtimes for comparison -->
 291   <target name="octane-all" depends="octane, octane-v8, octane-rhino">
 292     <exec executable="${v8.shell}">
 293       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 294       <arg value="${octane-tests}/"/>
 295     </exec>
 296   </target>
 297    
 298   <target name="sunspider-init" depends="jar">
 299     <fileset id="sunspider-set"
 300              dir="${sunspider-test-sys-prop.test.js.roots}"
 301              excludes="${sunspider-test-sys-prop.test.js.exclude.list}">
 302       <include name="**/*.js"/>
 303     </fileset>
 304     <pathconvert pathsep=" " property="sunspider-tests" refid="sunspider-set"/>
 305   </target>
 306 
 307   <!-- run sunspider with Nashorn -->
 308   <target name="sunspider" depends="sunspider-init">
 309     <java classname="${nashorn.shell.tool}"
 310           classpath="${run.test.classpath}"
 311           fork="true"
 312           dir=".">

 313       <jvmarg line="${ext.class.path}"/>
 314       <jvmarg line="${run.test.jvmargs}"/>
 315       <arg value="-timezone=PST"/>
 316       <arg value="--class-cache-size=50"/>
 317       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 318       <arg value="--"/>
 319       <arg value="${sunspider-tests}/"/>
 320     </java>
 321   </target>
 322 
 323   <!-- run sunspider with v8 -->
 324   <target name="sunspider-v8" depends="sunspider-init">
 325     <exec executable="${v8.shell}">
 326       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 327       <arg value="--"/>
 328       <arg value="${sunspider-tests}/"/>
 329     </exec>
 330   </target>
 331 
 332   <!-- run sunspider with Rhino -->
 333   <target name="sunspider-rhino" depends="sunspider-init">
 334     <java jar="${rhino.jar}"
 335           classpath="${run.test.classpath}"
 336           fork="true"
 337           dir=".">

 338       <jvmarg line="${run.test.jvmargs}"/>
 339       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 340       <arg value="${sunspider-tests}/"/>
 341     </java>
 342   </target>
 343 
 344 </project>