Run details:
Mozilla/5.0 (iPad; CPU OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/102.0.5005.87 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 102
iOS 15.0
Tablet
2 years ago
Test name Executions per second
for-loop 39911332.0 Ops/sec
for..of 36626340.0 Ops/sec
Array.find() 31592560.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;