Run details:
Mozilla/5.0 (Linux; Android 6.0.1; MI 3C Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.85 Mobile Safari/537.36
Chrome Mobile 54
Android 6.0.1
MI 3C
7 years ago
Test name Executions per second
for loop 42.9 Ops/sec
javascript array.find 282.2 Ops/sec
javascript array.find with function 278.5 Ops/sec
javascript array.find with function and index 295.9 Ops/sec
Script Preparation code:
Tests:
  • for loop

  • javascript array.find

  • javascript array.find with function

  • javascript array.find with function and index


;