author | lana |
Wed, 17 Apr 2013 10:31:01 -0700 | |
changeset 16977 | aa655625a6b9 |
parent 16169 | 45718b3a87eb |
child 17774 | 0407501fa563 |
permissions | -rw-r--r-- |
16147 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<!-- |
|
16151 | 3 |
Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
16147 | 4 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 |
||
6 |
This code is free software; you can redistribute it and/or modify it |
|
7 |
under the terms of the GNU General Public License version 2 only, as |
|
8 |
published by the Free Software Foundation. |
|
9 |
||
10 |
This code is distributed in the hope that it will be useful, but WITHOUT |
|
11 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 |
version 2 for more details (a copy is included in the LICENSE file that |
|
14 |
accompanied this code). |
|
15 |
||
16 |
You should have received a copy of the GNU General Public License version |
|
17 |
2 along with this work; if not, write to the Free Software Foundation, |
|
18 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 |
||
20 |
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
21 |
or visit www.oracle.com if you need additional information or have any |
|
22 |
questions. |
|
23 |
--> |
|
24 |
<project name="nashorn-benchmarks" default="all" basedir=".."> |
|
25 |
||
26 |
<target name="octane-init" depends="jar"> |
|
27 |
<fileset id="octane-set" |
|
28 |
dir="${octane-test-sys-prop.test.js.roots}" |
|
29 |
excludes="${octane-test-sys-prop.test.js.exclude.list}"> |
|
16165
4391faad6957
8005987: ant octane tries to run non-benchmark scripts
sundar
parents:
16163
diff
changeset
|
30 |
<include name="*.js"/> |
16147 | 31 |
</fileset> |
32 |
<pathconvert pathsep=" " property="octane-tests" refid="octane-set"/> |
|
33 |
</target> |
|
34 |
||
35 |
<!-- box2d --> |
|
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
36 |
<target name="octane-box2d" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
37 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
38 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/box2d.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
39 |
</antcall> |
16147 | 40 |
</target> |
41 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
42 |
<target name="octane-box2d-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
43 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
44 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/box2d.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
45 |
</antcall> |
16147 | 46 |
</target> |
47 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
48 |
<target name="octane-box2d-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
49 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
50 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/box2d.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
51 |
</antcall> |
16147 | 52 |
</target> |
53 |
||
54 |
<!-- code-load --> |
|
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
55 |
<target name="octane-code-load" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
56 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
57 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/code-load.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
58 |
</antcall> |
16147 | 59 |
</target> |
60 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
61 |
<target name="octane-code-load-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
62 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
63 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/code-load.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
64 |
</antcall> |
16147 | 65 |
</target> |
66 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
67 |
<target name="octane-code-load-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
68 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
69 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/code-load.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
70 |
</antcall> |
16147 | 71 |
</target> |
72 |
||
73 |
<!-- crypto --> |
|
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
74 |
<target name="octane-crypto" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
75 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
76 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/crypto.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
77 |
</antcall> |
16147 | 78 |
</target> |
79 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
80 |
<target name="octane-crypto-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
81 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
82 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/crypto.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
83 |
</antcall> |
16147 | 84 |
</target> |
85 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
86 |
<target name="octane-crypto-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
87 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
88 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/crypto.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
89 |
</antcall> |
16147 | 90 |
</target> |
91 |
||
92 |
<!-- deltablue --> |
|
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
93 |
<target name="octane-deltablue" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
94 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
95 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/deltablue.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
96 |
</antcall> |
16147 | 97 |
</target> |
98 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
99 |
<target name="octane-deltablue-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
100 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
101 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/deltablue.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
102 |
</antcall> |
16147 | 103 |
</target> |
104 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
105 |
<target name="octane-deltablue-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
106 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
107 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/deltablue.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
108 |
</antcall> |
16147 | 109 |
</target> |
110 |
||
111 |
<!-- earley-boyer --> |
|
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
112 |
<target name="octane-earley-boyer" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
113 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
114 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/earley-boyer.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
115 |
</antcall> |
16147 | 116 |
</target> |
117 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
118 |
<target name="octane-earley-boyer-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
119 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
120 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/earley-boyer.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
121 |
</antcall> |
16147 | 122 |
</target> |
123 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
124 |
<target name="octane-earley-boyer-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
125 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
126 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/earley-boyer.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
127 |
</antcall> |
16147 | 128 |
</target> |
129 |
||
130 |
<!-- gbemu --> |
|
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
131 |
<target name="octane-gbemu" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
132 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
133 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/gbemu.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
134 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
135 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
136 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
137 |
<target name="octane-gbemu-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
138 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
139 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/gbemu.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
140 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
141 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
142 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
143 |
<target name="octane-gbemu-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
144 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
145 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/gbemu.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
146 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
147 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
148 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
149 |
<!-- mandreel --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
150 |
<target name="octane-mandreel" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
151 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
152 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/mandreel.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
153 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
154 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
155 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
156 |
<target name="octane-mandreel-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
157 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
158 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/mandreel.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
159 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
160 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
161 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
162 |
<target name="octane-mandreel-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
163 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
164 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/mandreel.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
165 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
166 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
167 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
168 |
<!-- navier-stokes --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
169 |
<target name="octane-navier-stokes" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
170 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
171 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/navier-stokes.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
172 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
173 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
174 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
175 |
<target name="octane-navier-stokes-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
176 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
177 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/navier-stokes.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
178 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
179 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
180 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
181 |
<target name="octane-navier-stokes-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
182 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
183 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/navier-stokes.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
184 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
185 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
186 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
187 |
<!-- pdfjs --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
188 |
<target name="octane-pdfjs" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
189 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
190 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/pdfjs.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
191 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
192 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
193 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
194 |
<target name="octane-pdfjs-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
195 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
196 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/pdfjs.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
197 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
198 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
199 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
200 |
<target name="octane-pdfjs-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
201 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
202 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/pdfjs.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
203 |
</antcall> |
16147 | 204 |
</target> |
205 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
206 |
<!-- raytrace --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
207 |
<target name="octane-raytrace" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
208 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
209 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/raytrace.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
210 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
211 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
212 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
213 |
<target name="octane-raytrace-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
214 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
215 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/raytrace.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
216 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
217 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
218 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
219 |
<target name="octane-raytrace-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
220 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
221 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/raytrace.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
222 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
223 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
224 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
225 |
<!-- regexp --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
226 |
<target name="octane-regexp" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
227 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
228 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/regexp.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
229 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
230 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
231 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
232 |
<target name="octane-regexp-octane-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
233 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
234 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/regexp.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
235 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
236 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
237 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
238 |
<target name="octane-regexp-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
239 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
240 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/regexp.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
241 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
242 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
243 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
244 |
<!-- richards --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
245 |
<target name="octane-richards" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
246 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
247 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/richards.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
248 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
249 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
250 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
251 |
<target name="octane-richards-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
252 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
253 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/richards.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
254 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
255 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
256 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
257 |
<target name="octane-richards-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
258 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
259 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/richards.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
260 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
261 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
262 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
263 |
<!-- splay --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
264 |
<target name="octane-splay" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
265 |
<antcall target="run-octane"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
266 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/splay.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
267 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
268 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
269 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
270 |
<target name="octane-splay-v8" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
271 |
<antcall target="run-octane-v8"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
272 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/splay.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
273 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
274 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
275 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
276 |
<target name="octane-splay-rhino" depends="jar"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
277 |
<antcall target="run-octane-rhino"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
278 |
<param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/splay.js"/> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
279 |
</antcall> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
280 |
</target> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
281 |
|
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
282 |
<!-- run octane benchmarks in a single process --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
283 |
<target name="octane-single-process" depends="octane-init"> |
16147 | 284 |
<antcall target="run-octane"/> |
285 |
</target> |
|
286 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
287 |
<!-- mandreel excluded due to OOM --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
288 |
<target name="octane-separate-process" depends= |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
289 |
"octane-box2d, octane-code-load, octane-crypto, |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
290 |
octane-deltablue, octane-earley-boyer, octane-gbemu, |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
291 |
octane-navier-stokes, octane-pdfjs, octane-raytrace, |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
292 |
octane-regexp, octane-richards, octane-splay"/> |
16147 | 293 |
|
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
294 |
<target name="--single-process" unless="${octane-test-sys-prop.separate.process}"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
295 |
<antcall target="octane-single-process"/> |
16147 | 296 |
</target> |
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
297 |
<target name="--separate-process" if="${octane-test-sys-prop.separate.process}"> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
298 |
<antcall target="octane-separate-process"/> |
16147 | 299 |
</target> |
300 |
||
16169
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
301 |
<!-- run 'octane' in single or separate processes based on config --> |
45718b3a87eb
8006082: Provide option to run octane benchmarks in separate processes
sundar
parents:
16165
diff
changeset
|
302 |
<target name="octane" depends="init, --single-process, --separate-process"/> |
16147 | 303 |
|
304 |
<!-- run octane benchmarks using octane as runtime --> |
|
305 |
<target name="octane-v8" depends="octane-init"> |
|
306 |
<antcall target="run-octane-v8"/> |
|
307 |
</target> |
|
308 |
||
309 |
<!-- run octane benchmarks using Rhino as runtime --> |
|
310 |
<target name="octane-rhino" depends="octane-init"> |
|
311 |
<antcall target="run-octane-rhino"/> |
|
312 |
</target> |
|
313 |
||
314 |
<target name="run-octane"> |
|
315 |
<java classname="${nashorn.shell.tool}" |
|
316 |
classpath="${run.test.classpath}" |
|
317 |
fork="true" |
|
318 |
dir="."> |
|
319 |
<jvmarg line="${ext.class.path}"/> |
|
320 |
<jvmarg line="${run.test.jvmargs.octane}"/> |
|
321 |
<arg value="${octane-test-sys-prop.test.js.framework}"/> |
|
322 |
<arg value="--"/> |
|
323 |
<arg value="${octane-tests}"/> |
|
324 |
<arg value="--runtime"/> |
|
325 |
<arg value="Nashorn"/> |
|
326 |
<arg value="--verbose"/> |
|
327 |
<arg value="--iterations 8"/> |
|
328 |
</java> |
|
329 |
</target> |
|
330 |
||
331 |
<target name="run-octane-v8"> |
|
332 |
<exec executable="${v8.shell}"> |
|
333 |
<arg value="${octane-test-sys-prop.test.js.framework}"/> |
|
334 |
<arg value="--"/> |
|
335 |
<arg value="${octane-tests}"/> |
|
336 |
<arg value="--runtime"/> |
|
337 |
<arg value="v8"/> |
|
338 |
<arg value="--verbose"/> |
|
339 |
<arg value="--iterations 8"/> |
|
340 |
</exec> |
|
341 |
</target> |
|
342 |
||
343 |
<target name="run-octane-rhino"> |
|
344 |
<java jar="${rhino.jar}" |
|
345 |
classpath="${run.test.classpath}" |
|
346 |
fork="true" |
|
347 |
dir="."> |
|
348 |
<jvmarg line="${run.test.jvmargs.octane}"/> |
|
349 |
<arg value="${octane-test-sys-prop.test.js.framework}"/> |
|
350 |
<arg value="${octane-tests}"/> |
|
351 |
<arg value="--runtime"/> |
|
352 |
<arg value="Rhino"/> |
|
353 |
<arg value="--verbose"/> |
|
354 |
<arg value="--iterations 8"/> |
|
355 |
</java> |
|
356 |
</target> |
|
357 |
||
358 |
<!-- run octane with all known runtimes for comparison --> |
|
359 |
<target name="octane-all" depends="octane, octane-v8, octane-rhino"> |
|
360 |
<exec executable="${v8.shell}"> |
|
361 |
<arg value="${octane-test-sys-prop.test.js.framework}"/> |
|
362 |
<arg value="${octane-tests}/"/> |
|
363 |
</exec> |
|
364 |
</target> |
|
365 |
||
366 |
<target name="sunspider-init" depends="jar"> |
|
367 |
<fileset id="sunspider-set" |
|
368 |
dir="${sunspider-test-sys-prop.test.js.roots}" |
|
369 |
excludes="${sunspider-test-sys-prop.test.js.exclude.list}"> |
|
370 |
<include name="**/*.js"/> |
|
371 |
</fileset> |
|
372 |
<pathconvert pathsep=" " property="sunspider-tests" refid="sunspider-set"/> |
|
373 |
</target> |
|
374 |
||
375 |
<!-- run sunspider with Nashorn --> |
|
376 |
<target name="sunspider" depends="sunspider-init"> |
|
377 |
<java classname="${nashorn.shell.tool}" |
|
378 |
classpath="${run.test.classpath}" |
|
379 |
fork="true" |
|
380 |
dir="."> |
|
381 |
<jvmarg line="${ext.class.path}"/> |
|
382 |
<jvmarg line="${run.test.jvmargs}"/> |
|
383 |
<arg value="-timezone=PST"/> |
|
384 |
<arg value="--class-cache-size=50"/> |
|
385 |
<arg value="${sunspider-test-sys-prop.test.js.framework}"/> |
|
386 |
<arg value="--"/> |
|
387 |
<arg value="${sunspider-tests}/"/> |
|
388 |
</java> |
|
389 |
</target> |
|
390 |
||
391 |
<!-- run sunspider with v8 --> |
|
392 |
<target name="sunspider-v8" depends="sunspider-init"> |
|
393 |
<exec executable="${v8.shell}"> |
|
394 |
<arg value="${sunspider-test-sys-prop.test.js.framework}"/> |
|
395 |
<arg value="--"/> |
|
396 |
<arg value="${sunspider-tests}/"/> |
|
397 |
</exec> |
|
398 |
</target> |
|
399 |
||
400 |
<!-- run sunspider with Rhino --> |
|
401 |
<target name="sunspider-rhino" depends="sunspider-init"> |
|
402 |
<java jar="${rhino.jar}" |
|
403 |
classpath="${run.test.classpath}" |
|
404 |
fork="true" |
|
405 |
dir="."> |
|
406 |
<jvmarg line="${run.test.jvmargs}"/> |
|
407 |
<arg value="${sunspider-test-sys-prop.test.js.framework}"/> |
|
408 |
<arg value="${sunspider-tests}/"/> |
|
409 |
</java> |
|
410 |
</target> |
|
411 |
||
412 |
</project> |