Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15
Safari 14
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
for 271494.1 Ops/sec
lodash range foreach 16730.4 Ops/sec
array foreach 52518.4 Ops/sec
array lodash foreach 34118.4 Ops/sec
lodash range lodash foreach 19003.4 Ops/sec
HTML Preparation code:
Tests:
  • for

  • lodash range foreach

  • array foreach

  • array lodash foreach

  • lodash range lodash foreach


;