Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 OPR/72.0.3815.320
Opera 72
Mac OS X 11.0.0
Desktop
4 years ago
Test name Executions per second
for-loop 125525216.0 Ops/sec
for..of 116569296.0 Ops/sec
Array.find() 121824904.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;