Run details:
Mozilla/5.0 (Linux; Android 10; STK-LX3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
one year ago
Test name Executions per second
RegEx.test 1273466.8 Ops/sec
String.includes 2357120.0 Ops/sec
String.match 744553.4 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match