Run details:
Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
findIndex 4720.7 Ops/sec
indexOf 306918.2 Ops/sec
Script Preparation code:
Tests:
  • findIndex

  • indexOf