Script Preparation code:
Tests:
  • Push to new array

  • Splice

  • Filter

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Push to new array
    Splice
    Filter

    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: 6 years ago)
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Chrome 52 on Windows 7
View result in a separate tab
Test name Executions per second
Push to new array 13950.1 Ops/sec
Splice 1746399.0 Ops/sec
Filter 1909140.0 Ops/sec