Run details:
Mozilla/5.0 (Linux; Android 9; Lenovo L78071) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.63 Mobile Safari/537.36 ABB/3.2.6
Chrome Mobile 101
Android
Mobile
one year ago
Test name Executions per second
Regex 1 1559389.5 Ops/sec
Regex 2 80694.5 Ops/sec
Split 2063587.2 Ops/sec
Substring 1788867.8 Ops/sec
Script Preparation code:
Tests:
  • Regex 1

  • Regex 2

  • Split

  • Substring