Run details:
Mozilla/5.0 (Linux; Android 10; HD1901) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
Array.prototype.concat 566996.6 Ops/sec
spread operator 202042.8 Ops/sec
stringify 28756.9 Ops/sec
concat apply 450527.6 Ops/sec
loop 10758.5 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • stringify

  • concat apply

  • loop