Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/110.0.5481.83 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 110
iOS 16.1
Mobile
one year ago
Test name Executions per second
for-loop 74035704.0 Ops/sec
for..of 52146312.0 Ops/sec
Array.find() 54170776.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;