Run details:
Mozilla/5.0 (Linux; Android 9; VTR-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36 EdgA/107.0.1418.35
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
Array indexOf 634740.8 Ops/sec
String indexOf 687628.9 Ops/sec
Object lookup 690542.1 Ops/sec
Script Preparation code:
Tests:
  • Array indexOf

  • String indexOf

  • Object lookup


;