Run details:
Mozilla/5.0 (Linux; Android 10; M2010J19CG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
one year ago
Test name Executions per second
RegEx.test 1218088.1 Ops/sec
String.includes 3112173.2 Ops/sec
String.match 736229.5 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match