Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
Chrome 88
Linux
Desktop
3 years ago
Test name Executions per second
[123].concat(a) 1048940.1 Ops/sec
splice 1683.9 Ops/sec
reverse.push.reverse 14934.9 Ops/sec
unshift 38962.6 Ops/sec
print a 111160.8 Ops/sec
Script Preparation code:
Tests:
  • [123].concat(a)

  • splice

  • reverse.push.reverse

  • unshift

  • print a