Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.2477 YaBrowser/23.11.0.2477 Yowser/2.5 Safari/537.36
Yandex Browser 23
Mac OS X 10.15.7
Desktop
11 months ago
Test name Executions per second
Replace (SIMPLE) 6777769.0 Ops/sec
Split and Join 461634.0 Ops/sec
Replace (REGEX) 269594.1 Ops/sec
Script Preparation code:
Tests:
  • Replace (SIMPLE)

  • Split and Join

  • Replace (REGEX)


;