Run details:
Mozilla/5.0 (Android 12; Mobile; rv:107.0) Gecko/107.0 Firefox/107.0
Firefox Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
RegEx.test 5215043.0 Ops/sec
String.includes 8205014.0 Ops/sec
String.match 3104148.5 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match