Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: test/simdjs/generate.py

Issue 2684313003: Remove SIMD.js from V8. (Closed)
Patch Set: Rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/simdjs/SimdJs.json ('k') | test/simdjs/harness-adapt.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/simdjs/generate.py
diff --git a/test/simdjs/generate.py b/test/simdjs/generate.py
deleted file mode 100755
index 2ddd6d82ab38d2359540e2173b5b95d2476c069c..0000000000000000000000000000000000000000
--- a/test/simdjs/generate.py
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/python
-# Copyright 2015 the V8 project authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# Script to re-generate SimdJs.json from a SimdJs.json.template.
-
-import json
-import os
-import re
-
-SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__))
-
-SKIP_FILES = [
- '../ecmascript_simd',
- 'base',
- # TODO(bradnelson): Drop these when tests are fixed upstream.
- 'aobench',
- 'averageFloat32x4Load',
- 'matrix-multiplication-load',
-]
-
-run_js = open(
- os.path.join(SCRIPT_DIR, 'data', 'src', 'benchmarks', 'run.js')).read()
-tests = re.findall("load \\(\\'([^']+)[.]js\\'\\)", run_js)
-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': 1,
- 'run_count_android_arm64': 3,
- 'timeout_arm': 120,
- 'timeout_android_arm': 180,
- 'timeout_android_arm64': 120,
- 'units': 'ms',
- 'resources': [
- 'test/simdjs/data/src/benchmarks/base.js',
- 'test/simdjs/harness-adapt.js',
- 'test/simdjs/harness-finish.js'
- ] + ['test/simdjs/data/src/benchmarks/%s.js' % t for t in tests],
- 'flags': ['test/simdjs/harness-adapt.js'],
- 'path': ['../../'],
- 'tests': [
- {
- 'name': test,
- 'main': 'test/simdjs/harness-finish.js',
- 'flags': ['test/simdjs/data/src/benchmarks/%s.js' % test],
- 'results_regexp': '%s\\([ ]*([0-9.]+)(ms)?\\)',
- 'tests': [
- {'name': 'SIMD'},
- {'name': 'Non-SIMD'},
- ]
- }
- for test in tests],
-}
-
-with open(os.path.join(SCRIPT_DIR, 'SimdJs.json'), 'w') as fh:
- fh.write(json.dumps(output, separators=(',',': '), indent=2, sort_keys=True))
« no previous file with comments | « test/simdjs/SimdJs.json ('k') | test/simdjs/harness-adapt.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698