Run details:
Mozilla/5.0 (Linux; Android 9; MAR-LX1A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Mobile Safari/537.36
Chrome Mobile 78
Android
Mobile
2 years ago
Test name Executions per second
Array indexOf 1356010.9 Ops/sec
String indexOf 1496234.2 Ops/sec
Object lookup 1425310.4 Ops/sec
Script Preparation code:
Tests:
  • Array indexOf

  • String indexOf

  • Object lookup


;