Run details:
Mozilla/5.0 (Linux; Android 11; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
Array indexOf 5168803.0 Ops/sec
String indexOf 5489732.0 Ops/sec
Object lookup 5462561.5 Ops/sec
Script Preparation code:
Tests:
  • Array indexOf

  • String indexOf

  • Object lookup


;