Script Preparation code:
Tests:
  • String.replaceAll

  • split and join

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String.replaceAll
    split and join

    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 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
Chrome 88 on Mac OS X 11.1.0
View result in a separate tab
Test name Executions per second
String.replaceAll 255044.1 Ops/sec
split and join 893894.2 Ops/sec