Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/109.0.5414.83 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 109
iOS 16.4
Mobile
one year ago
Test name Executions per second
RegEx.test 12880348.0 Ops/sec
String.includes 18628968.0 Ops/sec
String.match 10585668.0 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match