Run details:
Mozilla/5.0 (Linux; Android 12; SM-G998B Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.45 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/346.0.0.29.119;]
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
for-loop 120720600.0 Ops/sec
for..of 164691008.0 Ops/sec
Array.find() 141949808.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;