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 5935.5 Ops/sec
Array.filter 942.1 Ops/sec
Array.indexOf 146095.2 Ops/sec
Array.includes 170856.5 Ops/sec
Array.find 21444.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find