Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
Chrome 62
Windows 7
Desktop
5 years ago
Test name Executions per second
Replace (SIMPLE) 833545.9 Ops/sec
Split and Join 98986.6 Ops/sec
Replace (REGEX) 65875.3 Ops/sec
Script Preparation code:
Tests:
  • Replace (SIMPLE)

  • Split and Join

  • Replace (REGEX)


;