Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Chrome 83
Mac OS X 10.15.4
Desktop
4 years ago
Test name Executions per second
for 176156.3 Ops/sec
lodash range foreach 14730.3 Ops/sec
array foreach 37560.3 Ops/sec
array lodash foreach 34931.2 Ops/sec
lodash range lodash foreach 17449.2 Ops/sec
HTML Preparation code:
Tests:
  • for

  • lodash range foreach

  • array foreach

  • array lodash foreach

  • lodash range lodash foreach


;