Run details:
Mozilla/5.0 (Linux; Android 13; SM-S908E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
RegEx.test 3777775.5 Ops/sec
String.includes 11072553.0 Ops/sec
String.match 2244355.5 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match