Tests:
  • replace regex

  • replaceall

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    replace regex
    replaceall

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.58 Safari/537.36
Chrome 89 on Mac OS X 11.2.1
View result in a separate tab
Test name Executions per second
replace regex 4852125.0 Ops/sec
replaceall 2535824.8 Ops/sec