Run details:
Mozilla/5.0 (Linux; Android 13; SM-G781U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36 EdgA/114.0.1823.41
Chrome Mobile 114
Android
Mobile
one year ago
Test name Executions per second
RegEx.test 4635068.0 Ops/sec
String.includes 11472753.0 Ops/sec
String.match 4001698.0 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match