Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
replace inline regex 427103.3 Ops/sec
replace compiled regex var 424466.9 Ops/sec
split and join 1351377.5 Ops/sec
Script Preparation code:
Tests:
  • replace inline regex

  • replace compiled regex var

  • split and join