Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Chrome 77
Windows
Desktop
4 years ago
Test name Executions per second
for 80204.0 Ops/sec
lodash range foreach 4056.2 Ops/sec
array foreach 19768.3 Ops/sec
array lodash foreach 5490.6 Ops/sec
lodash range lodash foreach 5074.1 Ops/sec
HTML Preparation code:
Tests:
  • for

  • lodash range foreach

  • array foreach

  • array lodash foreach

  • lodash range lodash foreach


;