Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Chrome 102
Windows
Desktop
11 months ago
Test name Executions per second
Array.apply 3652.1 Ops/sec
Array.concat 3052.9 Ops/sec
Array.fill 36809.0 Ops/sec
Custom function 3946.3 Ops/sec
Script Preparation code:
Tests:
  • Array.apply

  • Array.concat

  • Array.fill

  • Custom function