Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Windows
Desktop
4 years ago
Test name Executions per second
lodash.forEach 10939295.0 Ops/sec
for loop 19416918.0 Ops/sec
for of 16196854.0 Ops/sec
for in 440988.5 Ops/sec
forEach native 24936780.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.forEach

  • for loop

  • for of

  • for in

  • forEach native


;