Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/97.0.4692.84 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 97
iOS 15.2
Mobile
2 years ago
Test name Executions per second
for-loop 83109072.0 Ops/sec
for..of 70813552.0 Ops/sec
Array.find() 55405632.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;