Run details:
Mozilla/5.0 (Linux; Android 11; M2101K6P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
3 years ago
Test name Executions per second
RegEx.test 2131873.8 Ops/sec
String.includes 3811294.5 Ops/sec
String.match 1309062.8 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match


;