Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
Array.prototype.concat 5865639.0 Ops/sec
spread operator 13944296.0 Ops/sec
Push 11856044.0 Ops/sec
length + assign 2075352.6 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • Push

  • length + assign