Run details:
Mozilla/5.0 (Android 11; Mobile; rv:103.0) Gecko/103.0 Firefox/103.0
Firefox Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
RegEx.test() 8635530.0 Ops/sec
String.search() 7867299.0 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test()

  • String.search()


;