Run details:
Mozilla/5.0 (Linux; Android 11; moto g play (XT2093DL)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
2 years ago
Test name Executions per second
RegEx.test 835653.1 Ops/sec
String.includes 1543544.5 Ops/sec
String.match 501703.8 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match