Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36
Chrome Mobile 130
Android
Mobile
2 months ago
Test name Executions per second
RegEx.test 4178952.2 Ops/sec
String.includes 9364358.0 Ops/sec
String.match 2214080.8 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match