Run details:
Mozilla/5.0 (Linux; Android 7.0; VTR-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36
Chrome Mobile 74
Android 7.0
Mobile
5 years ago
Test name Executions per second
Array indexOf 766893.7 Ops/sec
String indexOf 863491.6 Ops/sec
Script Preparation code:
Tests:
  • Array indexOf

  • String indexOf


;