Run details:
Mozilla/5.0 (Android 10; Mobile; rv:109.0) Gecko/112.0 Firefox/112.0
Firefox Mobile 112
Android
Mobile
one year ago
Test name Executions per second
RegEx.test 9960911.0 Ops/sec
String.includes 13843043.0 Ops/sec
String.match 4720408.5 Ops/sec
String.indexof 508232384.0 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match

  • String.indexof