Run details:
Mozilla/5.0 (Linux; U; Android 12; en-US; SM-A536E Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.108 UCBrowser/13.4.0.1306 Mobile Safari/537.36
UC Browser 13
Android
Mobile
2 years ago
Test name Executions per second
Array.some 7316.4 Ops/sec
Array.filter 845.8 Ops/sec
Array.indexOf 89205.3 Ops/sec
Array.includes 170551.6 Ops/sec
Array.find 21541.3 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find