Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.86 YaBrowser/20.8.0.893 Yowser/2.5 Yptp/1.23 Safari/537.36
Yandex Browser 20
Mac OS X 10.15.3
Desktop
4 years ago
Test name Executions per second
for-loop 110719112.0 Ops/sec
for..of 114316976.0 Ops/sec
Array.find() 176178464.0 Ops/sec
HTML Preparation code:
Tests:
  • for-loop

  • for..of

  • Array.find()


;