Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 OPR/95.0.0.0
Opera 95
Windows 8.1
Desktop
one year ago
Test name Executions per second
RegEx.test 745271.1 Ops/sec
String.includes 1721345.4 Ops/sec
String.match 588597.3 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match