OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 // This benchmark is based on the six-speed benchmark build output. |
| 6 // Copyright 2014 Kevin Decker <https://github.com/kpdecker/six-speed/> |
| 7 |
| 8 new BenchmarkSuite('Babel', [1000], [ |
| 9 new Benchmark('Babel', false, false, 0, Babel), |
| 10 ]); |
| 11 |
| 12 function Babel() { |
| 13 return [1].concat([1, 2, 3]); |
| 14 } |
OLD | NEW |