Script Preparation code:
Tests:
  • String Replace No Compare

  • String Replace With Compare

  • Convert to Array

  • Remove From Array

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String Replace No Compare
    String Replace With Compare
    Convert to Array
    Remove From Array

    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: 5 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Chrome 52 on Windows
View result in a separate tab
Test name Executions per second
String Replace No Compare 179087.3 Ops/sec
String Replace With Compare 238998.1 Ops/sec
Convert to Array 124368.9 Ops/sec
Remove From Array 903509.2 Ops/sec