Run details:
Mozilla/5.0 (Linux; Android 8.0.0; ASUS_Z017DA) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Chrome Mobile 94
Android 8.0.0
Mobile
2 years ago
Test name Executions per second
Array indexOf 689044.1 Ops/sec
String indexOf 784564.9 Ops/sec
Object lookup 828443.3 Ops/sec
Script Preparation code:
Tests:
  • Array indexOf

  • String indexOf

  • Object lookup


;