Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Chrome 73
Mac OS X 10.14.2
Desktop
5 years ago
Test name Executions per second
for 179286.9 Ops/sec
lodash range foreach 15426.9 Ops/sec
array foreach 38836.6 Ops/sec
array lodash foreach 7773.6 Ops/sec
lodash range lodash foreach 10800.4 Ops/sec
HTML Preparation code:
Tests:
  • for

  • lodash range foreach

  • array foreach

  • array lodash foreach

  • lodash range lodash foreach


;