Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Windows 8.1
Desktop
2 years ago
Test name Executions per second
RegEx.test 12640028.0 Ops/sec
String.includes 20681044.0 Ops/sec
String.match 5585877.5 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match