Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Mobile Safari/537.36
Chrome Mobile 116
Android
Mobile
one year ago
Test name Executions per second
Array.prototype.concat small 2449564.8 Ops/sec
spread operator (small) 3635591.0 Ops/sec
Array.prototype.concat (large) 305909.1 Ops/sec
spread operator (large) 81492.2 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat small

  • spread operator (small)

  • Array.prototype.concat (large)

  • spread operator (large)