Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Firefox 91
Windows
Desktop
3 years ago
Test name Executions per second
Array.prototype.concat 43511.0 Ops/sec
spread operator 22864.3 Ops/sec
stringify 10826.9 Ops/sec
concat apply 50181.9 Ops/sec
push apply 15748.5 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • stringify

  • concat apply

  • push apply