Run details:
Mozilla/5.0 (iPad; CPU OS 17_7_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) EdgiOS/131.0.2903.92 Version/17.0 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.7.2
Tablet
22 hours ago
Test name Executions per second
Regex 1 265502112.0 Ops/sec
Regex 2 299503008.0 Ops/sec
Split 3602437.2 Ops/sec
Substring 19658652.0 Ops/sec
Script Preparation code:
Tests:
  • Regex 1

  • Regex 2

  • Split

  • Substring