Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Ubuntu
Desktop
4 months ago
Test name Executions per second
Regex 1 7294351.5 Ops/sec
Regex 2 248896.5 Ops/sec
Split 5760007.5 Ops/sec
Substring 1261358848.0 Ops/sec
Script Preparation code:
Tests:
  • Regex 1

  • Regex 2

  • Split

  • Substring