Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.1077 YaBrowser/23.9.1.1077 Yowser/2.5 Safari/537.36
Yandex Browser 23
Linux
Desktop
one year ago
Test name Executions per second
Array.some 211970.3 Ops/sec
Array.filter 24697.0 Ops/sec
Array.indexOf 740536.7 Ops/sec
Array.includes 2190575.8 Ops/sec
Array.find 196582.0 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find