Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Mac OS X 10.15
Desktop
5 months ago
Test name Executions per second
RegEx.test 58956500.0 Ops/sec
String.includes 71201472.0 Ops/sec
String.match 18371568.0 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match