Run details:
Mozilla/5.0 (Linux; Android 13; LE2123) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.5481.192 Mobile Safari/537.36 OPR/74.3.3922.71982
Opera Mobile 74
Android
Mobile
one year ago
Test name Executions per second
RegEx.test 3778989.8 Ops/sec
String.includes 9754295.0 Ops/sec
String.match 1556703.5 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match