Andrew Top | 63c7ad4 | 2019-11-25 16:10:13 -0800 | [diff] [blame] | 1 | // Copyright 2018 the V8 project authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | load('../base.js'); |
| 5 | load('tagged-template.js'); |
| 6 | load('array-indexof-includes.js'); |
| 7 | load('spread-call.js'); |
| 8 | load('has-own-property.js'); |
| 9 | load('array-map.js'); |
| 10 | load('array-reduce.js'); |
| 11 | |
| 12 | function PrintResult(name, result) { |
| 13 | console.log(name); |
| 14 | console.log(name + '-Numbers(Score): ' + result); |
| 15 | } |
| 16 | |
| 17 | function PrintError(name, error) { |
| 18 | PrintResult(name, error); |
| 19 | } |
| 20 | |
| 21 | BenchmarkSuite.config.doWarmup = undefined; |
| 22 | BenchmarkSuite.config.doDeterministic = undefined; |
| 23 | |
| 24 | BenchmarkSuite.RunSuites({ NotifyResult: PrintResult, |
| 25 | NotifyError: PrintError }); |