Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Android
Desktop
one year ago
Test name Executions per second
RegEx.matchAll 894375.4 Ops/sec
String.indexOf 1796985.8 Ops/sec
String.match 411020.6 Ops/sec
Script Preparation code:
Tests:
  • RegEx.matchAll

  • String.indexOf

  • String.match