Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
for-loop 20546964.0 Ops/sec
for..of 30909020.0 Ops/sec
Array.find() 61894156.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;