Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_13) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5662.214 Safari/537.36
Chrome 114
Mac OS X 11.13
Desktop
one year ago
Test name Executions per second
RegEx.test 6786748.5 Ops/sec
String.includes 15807468.0 Ops/sec
String.match 3753690.0 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match