Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/121.0.6167.171 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 121
iOS 17.3
Mobile
9 months ago
Test name Executions per second
for-loop 88731024.0 Ops/sec
for..of 70102800.0 Ops/sec
Array.find() 54923472.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;