Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Ubuntu
Desktop
one year ago
Test name Executions per second
Regex 1 9848988.0 Ops/sec
Regex 2 270962.1 Ops/sec
Split 6311820.0 Ops/sec
Substring 33682084.0 Ops/sec
Script Preparation code:
Tests:
  • Regex 1

  • Regex 2

  • Split

  • Substring