Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36
Chrome 76
Linux
Desktop
5 years ago
Test name Executions per second
for 142863.8 Ops/sec
lodash range foreach 5575.3 Ops/sec
array foreach 29726.4 Ops/sec
array lodash foreach 4517.0 Ops/sec
lodash range lodash foreach 10743.0 Ops/sec
HTML Preparation code:
Tests:
  • for

  • lodash range foreach

  • array foreach

  • array lodash foreach

  • lodash range lodash foreach


;