Run details:
Mozilla/5.0 (Linux; U; Android 11; de-de; Mi 9T Build/RKQ1.200826.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.116 Mobile Safari/537.36 XiaoMi/MiuiBrowser/12.18.3-gn
Chrome Mobile 89
Android
Mobile
2 years ago
Test name Executions per second
Array.some 49563.1 Ops/sec
Array.filter 1078.1 Ops/sec
Array.indexOf 97890.7 Ops/sec
Array.includes 1243790.8 Ops/sec
Array.find 49157.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find