Run details:
Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-N975F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.2 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
2 years ago
Test name Executions per second
RegEx.test 2943454.2 Ops/sec
String.includes 5389063.5 Ops/sec
String.match 1060991.4 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match