Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36
Chrome 64
Linux
Desktop
6 years ago
Test name Executions per second
for 74307.3 Ops/sec
lodash range foreach 9057.1 Ops/sec
array foreach 20856.7 Ops/sec
array lodash foreach 4030.0 Ops/sec
lodash range lodash foreach 5134.3 Ops/sec
lodash times 7636.9 Ops/sec
HTML Preparation code:
Tests:
  • for

  • lodash range foreach

  • array foreach

  • array lodash foreach

  • lodash range lodash foreach

  • lodash times


;