Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
Chrome 77
Mac OS X 10.15.3
Desktop
4 years ago
Test name Executions per second
for loop 1633.5 Ops/sec
Array.prototype.forEach 19314.9 Ops/sec
lodash each 8705.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • for loop

  • Array.prototype.forEach

  • lodash each