Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.277 Whale/2.9.118.38 Safari/537.36
Chrome 86
Mac OS X 11.0.0
Desktop
3 years ago
Test name Executions per second
Array.some 75901.1 Ops/sec
Array.filter 28554.7 Ops/sec
Array.indexOf 151992.4 Ops/sec
Array.includes 1583876.1 Ops/sec
Array.find 96224.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find


;