Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/87.0.4280.77 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 87
iOS 15.3
Mobile
2 years ago
Test name Executions per second
Array.includes 26858166.0 Ops/sec
String.match 6341906.0 Ops/sec
Multiple if Conditions 402414048.0 Ops/sec
Tests:
  • Array.includes

  • String.match

  • Multiple if Conditions