Ben Murdoch | 014dc51 | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 1 | // Copyright 2014 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 | |
| 5 | |
| 6 | load('../base.js'); |
Ben Murdoch | 3b9bc31 | 2016-06-02 14:46:10 +0100 | [diff] [blame^] | 7 | |
Ben Murdoch | 014dc51 | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 8 | load('assign.js'); |
Ben Murdoch | 3b9bc31 | 2016-06-02 14:46:10 +0100 | [diff] [blame^] | 9 | load('values.js'); |
| 10 | load('entries.js'); |
Ben Murdoch | 014dc51 | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 11 | |
| 12 | var success = true; |
| 13 | |
| 14 | function PrintResult(name, result) { |
| 15 | print(name + '-Object(Score): ' + result); |
| 16 | } |
| 17 | |
| 18 | |
| 19 | function PrintError(name, error) { |
| 20 | PrintResult(name, error); |
| 21 | success = false; |
| 22 | } |
| 23 | |
| 24 | |
| 25 | BenchmarkSuite.config.doWarmup = undefined; |
| 26 | BenchmarkSuite.config.doDeterministic = undefined; |
| 27 | |
| 28 | BenchmarkSuite.RunSuites({ NotifyResult: PrintResult, |
| 29 | NotifyError: PrintError }); |