Test name | Executions per second |
---|---|
Array.concat | 4649053.5 Ops/sec |
Array.slice | 4734883.0 Ops/sec |
For loop | 141941.6 Ops/sec |
For loop with declared length | 216816.4 Ops/sec |
While loop | 227307.5 Ops/sec |
Spread operator | 4433834.5 Ops/sec |
Slice with begin argument | 4698655.5 Ops/sec |
Slice with begin and end argument | 2841522.0 Ops/sec |
Array.from | 3519931.5 Ops/sec |