Run details:
Mozilla/5.0 (Linux; Android 12; M2007J3SY) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
one year ago
Test name Executions per second
RegEx.test 3940049.0 Ops/sec
String.includes 9676585.0 Ops/sec
String.match 2321141.5 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match