Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 YaBrowser/21.9.1.684 Yowser/2.5 Safari/537.36
Yandex Browser 21
Windows
Desktop
2 years ago
Test name Executions per second
findIndex 78009.6 Ops/sec
map and indexOf 2958.6 Ops/sec
Script Preparation code:
Tests:
  • findIndex

  • map and indexOf