Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Firefox 91
Ubuntu
Desktop
3 years ago
Test name Executions per second
Regex 1 3019232.0 Ops/sec
Regex 2 94721.1 Ops/sec
Split 1597427.6 Ops/sec
Substring 8920638.0 Ops/sec
Script Preparation code:
Tests:
  • Regex 1

  • Regex 2

  • Split

  • Substring


;