Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox 105
Ubuntu
Desktop
9 months ago
Test name Executions per second
findIndex 2850859.0 Ops/sec
map and indexOf 11085.8 Ops/sec
Script Preparation code:
Tests:
  • findIndex

  • map and indexOf