Run details:
Mozilla/5.0 (Windows NT 10.0; rv:110.0) Gecko/20100101 Firefox/110.0
Firefox 110
Windows
Desktop
one year ago
Test name Executions per second
Regex 1 1796892.2 Ops/sec
Regex 2 55544.1 Ops/sec
Split 1005696.6 Ops/sec
Substring 8083239.0 Ops/sec
Script Preparation code:
Tests:
  • Regex 1

  • Regex 2

  • Split

  • Substring