Tests:
  • With triple replace

  • With regex

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    With triple replace
    With regex

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
Chrome 84 on Mac OS X 10.14.1
View result in a separate tab
Test name Executions per second
With triple replace 2150549.0 Ops/sec
With regex 4500849.0 Ops/sec

Recommended literature: