Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/94.0.4606.52 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 94
iOS 15.0
Mobile
3 years ago
Test name Executions per second
for-loop 52071604.0 Ops/sec
for..of 47988548.0 Ops/sec
Array.find() 33265564.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;