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

Side by Side Diff: test/simdjs/generate.py

Issue 1356793002: Remove on-by-default flag --harmony-object (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « test/simdjs/SimdJs.json ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright 2015 the V8 project authors. All rights reserved. 2 # Copyright 2015 the V8 project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # Script to re-generate SimdJs.json from a SimdJs.json.template. 6 # Script to re-generate SimdJs.json from a SimdJs.json.template.
7 7
8 import json 8 import json
9 import os 9 import os
10 import re 10 import re
(...skipping 22 matching lines...) Expand all
33 'run_count_android_arm64': 3, 33 'run_count_android_arm64': 3,
34 'timeout_arm': 120, 34 'timeout_arm': 120,
35 'timeout_android_arm': 180, 35 'timeout_android_arm': 180,
36 'timeout_android_arm64': 120, 36 'timeout_android_arm64': 120,
37 'units': 'ms', 37 'units': 'ms',
38 'resources': [ 38 'resources': [
39 'test/simdjs/data/src/benchmarks/base.js', 39 'test/simdjs/data/src/benchmarks/base.js',
40 'test/simdjs/harness-adapt.js', 40 'test/simdjs/harness-adapt.js',
41 'test/simdjs/harness-finish.js' 41 'test/simdjs/harness-finish.js'
42 ] + ['test/simdjs/data/src/benchmarks/%s.js' % t for t in tests], 42 ] + ['test/simdjs/data/src/benchmarks/%s.js' % t for t in tests],
43 'flags': ['--harmony-object', 'test/simdjs/harness-adapt.js'], 43 'flags': ['test/simdjs/harness-adapt.js'],
44 'path': ['../../'], 44 'path': ['../../'],
45 'tests': [ 45 'tests': [
46 { 46 {
47 'name': test, 47 'name': test,
48 'main': 'test/simdjs/harness-finish.js', 48 'main': 'test/simdjs/harness-finish.js',
49 'flags': ['test/simdjs/data/src/benchmarks/%s.js' % test], 49 'flags': ['test/simdjs/data/src/benchmarks/%s.js' % test],
50 'results_regexp': '%s\\([ ]*([0-9.]+)(ms)?\\)', 50 'results_regexp': '%s\\([ ]*([0-9.]+)(ms)?\\)',
51 'tests': [ 51 'tests': [
52 {'name': 'SIMD'}, 52 {'name': 'SIMD'},
53 {'name': 'Non-SIMD'}, 53 {'name': 'Non-SIMD'},
54 ] 54 ]
55 } 55 }
56 for test in tests], 56 for test in tests],
57 } 57 }
58 58
59 with open(os.path.join(SCRIPT_DIR, 'SimdJs.json'), 'w') as fh: 59 with open(os.path.join(SCRIPT_DIR, 'SimdJs.json'), 'w') as fh:
60 fh.write(json.dumps(output, separators=(',',': '), indent=2, sort_keys=True)) 60 fh.write(json.dumps(output, separators=(',',': '), indent=2, sort_keys=True))
OLDNEW
« no previous file with comments | « test/simdjs/SimdJs.json ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698