Run details:
Mozilla/5.0 (Linux; Android 12; SM-G990B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
RegEx.test 2712801.0 Ops/sec
String.includes 4681304.0 Ops/sec
String.match 1355026.2 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match