Script Preparation code:
Tests:
  • Using split + filter + join

  • Using RegExp global replace

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Using split + filter + join
    Using RegExp global replace

    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: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68 on Mac OS X 10.14
View result in a separate tab
Test name Executions per second
Using split + filter + join 521589.6 Ops/sec
Using RegExp global replace 1644390.0 Ops/sec