Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89
Linux
Desktop
3 years ago
Test name Executions per second
replace regex 4810645.0 Ops/sec
replace All 7718373.5 Ops/sec
replace All Regex 2013003.4 Ops/sec
Script Preparation code:
Tests:
  • replace regex

  • replace All

  • replace All Regex