Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 7 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.80 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
3 years ago
Test name Executions per second
RegEx.test 2207580.5 Ops/sec
String.match 1669286.1 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.match