[test] Fix simdjs perf tests.

- Missing resource on android
- Higher timeout on arm
- Fewer runs on arm
- Drop total

BUG=v8:4124
LOG=N
NOTRY=true
TBR=bradnelson@chromium.org

Review URL: https://codereview.chromium.org/1149723002

Cr-Commit-Position: refs/heads/master@{#28528}
This commit is contained in:
machenbach 2015-05-20 11:33:50 -07:00 committed by Commit bot
parent 3cc9c0e36f
commit 37706b3ddf
2 changed files with 18 additions and 4 deletions

View File

@ -10,6 +10,8 @@
"resources": [
"test/simdjs/data/src/benchmarks/base.js",
"test/simdjs/data/src/ecmascript_simd.js",
"test/simdjs/harness-adapt.js",
"test/simdjs/harness-finish.js",
"test/simdjs/data/src/benchmarks/kernel-template.js",
"test/simdjs/data/src/benchmarks/averageFloat32x4.js",
"test/simdjs/data/src/benchmarks/averageFloat32x4LoadFromInt8Array.js",
@ -29,6 +31,9 @@
"test/simdjs/data/src/benchmarks/memcpy.js"
],
"run_count": 5,
"run_count_android_arm": 3,
"run_count_android_arm64": 3,
"run_count_arm": 3,
"tests": [
{
"flags": [
@ -439,6 +444,8 @@
]
}
],
"total": true,
"timeout_android_arm": 120,
"timeout_android_arm64": 120,
"timeout_arm": 120,
"units": "ms"
}

View File

@ -28,11 +28,18 @@ tests = [t for t in tests if t not in SKIP_FILES]
output = {
'name': 'SIMDJS',
'run_count': 5,
'run_count_arm': 3,
'run_count_android_arm': 3,
'run_count_android_arm64': 3,
'timeout_arm': 120,
'timeout_android_arm': 120,
'timeout_android_arm64': 120,
'units': 'ms',
'total': True,
'resources': [
'test/simdjs/data/src/benchmarks/base.js',
'test/simdjs/data/src/ecmascript_simd.js'
'test/simdjs/data/src/ecmascript_simd.js',
'test/simdjs/harness-adapt.js',
'test/simdjs/harness-finish.js'
] + ['test/simdjs/data/src/benchmarks/%s.js' % t for t in tests],
'flags': ['--harmony-object', 'test/simdjs/harness-adapt.js'],
'path': ['../../'],
@ -52,5 +59,5 @@ output = {
for test in tests],
}
with open(os.path.join(SCRIPT_DIR, 'SimdJS.json'), 'w') as fh:
with open(os.path.join(SCRIPT_DIR, 'SimdJs.json'), 'w') as fh:
fh.write(json.dumps(output, separators=(',',': '), indent=2, sort_keys=True))