Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_nashorn
提交
6cc8966f
D
dragonwell8_nashorn
项目概览
openanolis
/
dragonwell8_nashorn
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_nashorn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6cc8966f
编写于
1月 11, 2013
作者:
S
sundar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8006082: Provide option to run octane benchmarks in separate processes
Reviewed-by: lagergren, jlaskey
上级
274ff338
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
185 addition
and
112 deletion
+185
-112
make/build-benchmark.xml
make/build-benchmark.xml
+179
-111
make/project.properties
make/project.properties
+6
-1
未找到文件。
make/build-benchmark.xml
浏览文件 @
6cc8966f
...
...
@@ -30,206 +30,277 @@
<include
name=
"*.js"
/>
</fileset>
<pathconvert
pathsep=
" "
property=
"octane-tests"
refid=
"octane-set"
/>
<property
name=
"extra-arg"
value=
""
/>
</target>
<!-- box2d -->
<target
name=
"box2d-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/box2d.js"
/>
<target
name=
"octane-box2d"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/box2d.js"
/>
</antcall>
</target>
<target
name=
"octane-box2d"
depends=
"jar, box2d-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<target
name=
"octane-box2d-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/box2d.js"
/>
</antcall>
</target>
<target
name=
"octane-box2d-v8"
depends=
"jar, box2d-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
</target>
<target
name=
"octane-box2d-rhino"
depends=
"jar, box2d-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<target
name=
"octane-box2d-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/box2d.js"
/>
</antcall>
</target>
<!-- code-load -->
<target
name=
"code-load-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/code-load.js"
/>
</target>
<target
name=
"octane-code-load"
depends=
"jar, code-load-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<target
name=
"octane-code-load"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/code-load.js"
/>
</antcall>
</target>
<target
name=
"octane-code-load-v8"
depends=
"jar, code-load-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
<target
name=
"octane-code-load-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/code-load.js"
/>
</antcall>
</target>
<target
name=
"octane-code-load-rhino"
depends=
"jar, code-load-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<target
name=
"octane-code-load-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/code-load.js"
/>
</antcall>
</target>
<!-- crypto -->
<target
name=
"crypto-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/crypto.js"
/>
<target
name=
"octane-crypto"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/crypto.js"
/>
</antcall>
</target>
<target
name=
"octane-crypto"
depends=
"jar, crypto-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
</target>
<target
name=
"octane-crypto-v8"
depends=
"jar, crypto-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
<target
name=
"octane-crypto-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/crypto.js"
/>
</antcall>
</target>
<target
name=
"octane-crypto-rhino"
depends=
"jar, crypto-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<target
name=
"octane-crypto-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/crypto.js"
/>
</antcall>
</target>
<!-- deltablue -->
<target
name=
"deltablue-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/deltablue.js"
/>
<target
name=
"octane-deltablue"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/deltablue.js"
/>
</antcall>
</target>
<target
name=
"octane-deltablue"
depends=
"jar, deltablue-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<target
name=
"octane-deltablue-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/deltablue.js"
/>
</antcall>
</target>
<target
name=
"octane-deltablue-v8"
depends=
"jar, deltablue-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
</target>
<target
name=
"octane-deltablue-rhino"
depends=
"jar, deltablue-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<target
name=
"octane-deltablue-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/deltablue.js"
/>
</antcall>
</target>
<!-- earley-boyer -->
<target
name=
"earley-boyer-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/earley-boyer.js"
/>
</target>
<target
name=
"octane-earley-boyer"
depends=
"jar, earley-boyer-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<target
name=
"octane-earley-boyer"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/earley-boyer.js"
/>
</antcall>
</target>
<target
name=
"octane-earley-boyer-v8"
depends=
"jar, earley-boyer-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
<target
name=
"octane-earley-boyer-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/earley-boyer.js"
/>
</antcall>
</target>
<target
name=
"octane-earley-boyer-rhino"
depends=
"jar, earley-boyer-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<target
name=
"octane-earley-boyer-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/earley-boyer.js"
/>
</antcall>
</target>
<!-- gbemu -->
<target
name=
"gbemu-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/gbemu.js"
/>
<target
name=
"octane-gbemu"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/gbemu.js"
/>
</antcall>
</target>
<target
name=
"octane-gbemu"
depends=
"jar, gbemu-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<target
name=
"octane-gbemu-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/gbemu.js"
/>
</antcall>
</target>
<target
name=
"octane-gbemu-v8"
depends=
"jar, gbemu-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
<target
name=
"octane-gbemu-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/gbemu.js"
/>
</antcall>
</target>
<target
name=
"octane-gbemu-rhino"
depends=
"jar, gbemu-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<!-- mandreel -->
<target
name=
"octane-mandreel"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/mandreel.js"
/>
</antcall>
</target>
<!-- navier-stokes -->
<target
name=
"navier-stokes-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/navier-stokes.js"
/>
<target
name=
"octane-mandreel-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/mandreel.js"
/>
</antcall>
</target>
<target
name=
"octane-navier-stokes"
depends=
"jar, navier-stokes-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<target
name=
"octane-mandreel-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/mandreel.js"
/>
</antcall>
</target>
<target
name=
"octane-navier-stokes-v8"
depends=
"jar, navier-stokes-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
<!-- navier-stokes -->
<target
name=
"octane-navier-stokes"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/navier-stokes.js"
/>
</antcall>
</target>
<target
name=
"octane-navier-stokes-rhino"
depends=
"jar, navier-stokes-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<target
name=
"octane-navier-stokes-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/navier-stokes.js"
/>
</antcall>
</target>
<!-- pdfjs -->
<target
name=
"pdfjs-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/pdfjs.js"
/>
<target
name=
"octane-navier-stokes-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/navier-stokes.js"
/>
</antcall>
</target>
<target
name=
"octane-pdfjs"
depends=
"jar, pdfjs-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<!-- pdfjs -->
<target
name=
"octane-pdfjs"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/pdfjs.js"
/>
</antcall>
</target>
<target
name=
"octane-pdfjs-v8"
depends=
"jar, pdfjs-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
<target
name=
"octane-pdfjs-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/pdfjs.js"
/>
</antcall>
</target>
<target
name=
"octane-pdfjs-rhino"
depends=
"jar, pdfjs-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<target
name=
"octane-pdfjs-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/pdfjs.js"
/>
</antcall>
</target>
<!-- raytrace -->
<target
name=
"raytrace-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/raytrace.js"
/>
<target
name=
"octane-raytrace"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/raytrace.js"
/>
</antcall>
</target>
<target
name=
"octane-raytrace"
depends=
"jar, raytrace-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<target
name=
"octane-raytrace-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/raytrace.js"
/>
</antcall>
</target>
<target
name=
"octane-raytrace-v8"
depends=
"jar, raytrace-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
<target
name=
"octane-raytrace-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/raytrace.js"
/>
</antcall>
</target>
<target
name=
"octane-raytrace-rhino"
depends=
"jar, raytrace-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<!-- regexp -->
<target
name=
"octane-regexp"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/regexp.js"
/>
</antcall>
</target>
<!-- regexp -->
<target
name=
"regexp-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/regexp.js"
/>
<target
name=
"octane-regexp-octane-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/regexp.js"
/>
</antcall>
</target>
<target
name=
"octane-regexp"
depends=
"jar, regexp-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<target
name=
"octane-regexp-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/regexp.js"
/>
</antcall>
</target>
<target
name=
"octane-regexp-octane-v8"
depends=
"jar, regexp-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
<!-- richards -->
<target
name=
"octane-richards"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/richards.js"
/>
</antcall>
</target>
<target
name=
"octane-regexp-rhino"
depends=
"jar, regexp-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<target
name=
"octane-richards-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/richards.js"
/>
</antcall>
</target>
<target
name=
"octane-richards-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/richards.js"
/>
</antcall>
</target>
<!-- splay -->
<target
name=
"splay-init"
>
<property
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/splay.js"
/>
<target
name=
"octane-splay"
depends=
"jar"
>
<antcall
target=
"run-octane"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/splay.js"
/>
</antcall>
</target>
<target
name=
"octane-splay"
depends=
"jar, splay-init, octane-verbose"
>
<antcall
target=
"run-octane"
/>
<target
name=
"octane-splay-v8"
depends=
"jar"
>
<antcall
target=
"run-octane-v8"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/splay.js"
/>
</antcall>
</target>
<target
name=
"octane-splay-v8"
depends=
"jar, splay-init, octane-verbose"
>
<antcall
target=
"run-octane-v8"
/>
<target
name=
"octane-splay-rhino"
depends=
"jar"
>
<antcall
target=
"run-octane-rhino"
>
<param
name=
"octane-tests"
value=
"${octane-test-sys-prop.test.js.roots}/splay.js"
/>
</antcall>
</target>
<target
name=
"octane-splay-rhino"
depends=
"jar, splay-init, octane-verbose"
>
<antcall
target=
"run-octane-rhino"
/>
<!-- run octane benchmarks in a single process -->
<target
name=
"octane-single-process"
depends=
"octane-init"
>
<antcall
target=
"run-octane"
/>
</target>
<target
name=
"octane-verbose"
>
<property
name=
"extra-arg"
value=
"--verbose"
/>
</target>
<!-- mandreel excluded due to OOM -->
<target
name=
"octane-separate-process"
depends=
"octane-box2d, octane-code-load, octane-crypto,
octane-deltablue, octane-earley-boyer, octane-gbemu,
octane-navier-stokes, octane-pdfjs, octane-raytrace,
octane-regexp, octane-richards, octane-splay"
/>
<!-- run octane benchmarks using Nashorn as runtime -->
<target
name=
"octane"
depends=
"octane-init"
>
<antcall
target=
"run-octane"
/>
<target
name=
"--single-process"
unless=
"${octane-test-sys-prop.separate.process}"
>
<antcall
target=
"octane-single-process"
/>
</target>
<target
name=
"--separate-process"
if=
"${octane-test-sys-prop.separate.process}"
>
<antcall
target=
"octane-separate-process"
/>
</target>
<!-- run 'octane' in single or separate processes based on config -->
<target
name=
"octane"
depends=
"init, --single-process, --separate-process"
/>
<!-- run octane benchmarks using octane as runtime -->
<target
name=
"octane-v8"
depends=
"octane-init"
>
<antcall
target=
"run-octane-v8"
/>
...
...
@@ -254,7 +325,6 @@
<arg
value=
"Nashorn"
/>
<arg
value=
"--verbose"
/>
<arg
value=
"--iterations 8"
/>
<arg
value=
"${extra-arg}"
/>
</java>
</target>
...
...
@@ -267,7 +337,6 @@
<arg
value=
"v8"
/>
<arg
value=
"--verbose"
/>
<arg
value=
"--iterations 8"
/>
<arg
value=
"${extra-arg}"
/>
</exec>
</target>
...
...
@@ -283,7 +352,6 @@
<arg
value=
"Rhino"
/>
<arg
value=
"--verbose"
/>
<arg
value=
"--iterations 8"
/>
<arg
value=
"${extra-arg}"
/>
</java>
</target>
...
...
make/project.properties
浏览文件 @
6cc8966f
...
...
@@ -156,13 +156,18 @@ test-sys-prop.test.js.unchecked.dir=${test262.dir}
# test root for octane
octane-test-sys-prop.test.js.roots
=
${test.external.dir}/octane/
# run octane benchmars in separate processes?
octane-test-sys-prop.separate.process
=
true
# framework root for octane
octane-test-sys-prop.test.js.framework
=
${test.basic.dir}/run-octane.js
# list of tests to be excluded
# mandreel excluded due to OOM
octane-test-sys-prop.test.js.exclude.list
=
\
base.js
\
run.js
run.js
\
mandreel.js
# test root for sunspider
sunspider-test-sys-prop.test.js.roots
=
${test.external.dir}/sunspider/tests/sunspider-1.0/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录