Tests:
-
Array.prototype.concat small
-
spread operator (small)
-
Array.prototype.concat (large)
-
spread operator (large)
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
2 years ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36
Chrome Mobile 128 on Android
View result in a separate tab
spread operator (small)
6.2M/s
Array.prototype.concat small
3.7M/s
Array.prototype.concat (large)
378K/s
spread operator (large)
73K/s
View exact numbers
| Test name |
Executions per second |
|
✓
spread operator (small)
|
6,207,354 Ops/sec |
|
Array.prototype.concat small
|
3,713,006 Ops/sec |
|
Array.prototype.concat (large)
|
378,037 Ops/sec |
|
spread operator (large)
|
73,232 Ops/sec |
Do you really want to delete benchmark?