Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
for 205348.8 Ops/sec
lodash range foreach 31289.4 Ops/sec
array foreach 67372.9 Ops/sec
array lodash foreach 17704.1 Ops/sec
lodash range lodash foreach 14380.6 Ops/sec
HTML Preparation code:
Tests:
  • for

  • lodash range foreach

  • array foreach

  • array lodash foreach

  • lodash range lodash foreach