Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
for 174648.7 Ops/sec
lodash range foreach 27975.7 Ops/sec
array foreach 53166.4 Ops/sec
array lodash foreach 15030.8 Ops/sec
lodash range lodash foreach 12448.5 Ops/sec
HTML Preparation code:
Tests:
  • for

  • lodash range foreach

  • array foreach

  • array lodash foreach

  • lodash range lodash foreach