Run details:
Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.54 Mobile DuckDuckGo/5 Safari/537.36
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
for-loop 46044536.0 Ops/sec
for..of 70837600.0 Ops/sec
Array.find() 79033120.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;