Run details:
Mozilla/5.0 (X11; CrOS x86_64 12871.102.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.141 Safari/537.36
Chrome 81
Chrome OS 12871.102.0
Desktop
4 years ago
Test name Executions per second
findIndex 70583.7 Ops/sec
map and indexOf 2989.7 Ops/sec
Script Preparation code:
Tests:
  • findIndex

  • map and indexOf