Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Mac OS X 10.15
Desktop
10 months ago
Test name Executions per second
RegEx.test 55198872.0 Ops/sec
String.includes 68341432.0 Ops/sec
String.match 25029558.0 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match