Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.124 YaBrowser/22.9.3.886 Yowser/2.5 Safari/537.36
Yandex Browser 22
Windows
Desktop
2 years ago
Test name Executions per second
Array.some 258911.9 Ops/sec
Array.filter 69717.5 Ops/sec
Array.indexOf 907495.7 Ops/sec
Array.includes 1952871.4 Ops/sec
Array.find 268726.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find


;