Run details:
Mozilla/5.0 (X11; CrOS x86_64 13904.97.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.167 Safari/537.36
Chrome 91
Chrome OS 13904.97.0
Desktop
3 years ago
Test name Executions per second
findIndex 83189.2 Ops/sec
map and indexOf 5181.1 Ops/sec
Script Preparation code:
Tests:
  • findIndex

  • map and indexOf