Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:62.0) Gecko/20100101 Firefox/62.0
Firefox 62
Mac OS X 10.11
Desktop
6 years ago
Test name Executions per second
Array.prototype.push 45002200.0 Ops/sec
Array.prototype.concat 0.2 Ops/sec
Array spread 0.2 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.push

  • Array.prototype.concat

  • Array spread