| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 | |
| 6 load('../base.js'); | 5 load('../base.js'); |
| 7 load('assign.js'); | 6 load('keys.js'); |
| 8 | 7 |
| 9 var success = true; | 8 var success = true; |
| 10 | 9 |
| 11 function PrintResult(name, result) { | 10 function PrintResult(name, result) { |
| 12 print(name + '-Object(Score): ' + result); | 11 print(name + '-Keys(Score): ' + result); |
| 13 } | 12 } |
| 14 | 13 |
| 15 | |
| 16 function PrintError(name, error) { | 14 function PrintError(name, error) { |
| 17 PrintResult(name, error); | 15 PrintResult(name, error); |
| 18 success = false; | 16 success = false; |
| 19 } | 17 } |
| 20 | 18 |
| 21 | |
| 22 BenchmarkSuite.config.doWarmup = undefined; | 19 BenchmarkSuite.config.doWarmup = undefined; |
| 23 BenchmarkSuite.config.doDeterministic = undefined; | 20 BenchmarkSuite.config.doDeterministic = undefined; |
| 24 | 21 |
| 25 BenchmarkSuite.RunSuites({ NotifyResult: PrintResult, | 22 BenchmarkSuite.RunSuites({NotifyResult: PrintResult, NotifyError: PrintError}); |
| 26 NotifyError: PrintError }); | |
| OLD | NEW |