Run details:
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
RegExp.test() 1767817.2 Ops/sec
RegExp.match() 600560.4 Ops/sec
Script Preparation code:
Tests:
  • RegExp.test()

  • RegExp.match()