Script Preparation code:
Tests:
  • Array.apply

  • Array.concat

  • Array.fill

  • Custom function

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.apply
    Array.concat
    Array.fill
    Custom function

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Chrome 102 on Windows
View result in a separate tab
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