Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Chrome 83
Mac OS X 10.15.5
Desktop
4 years ago
Test name Executions per second
lodash.each 828.6 Ops/sec
lodash.map 791.9 Ops/sec
Object.entries.map 312.0 Ops/sec
Object.entries + for 331.8 Ops/sec
Object.entries + for..of 334.5 Ops/sec
forEach 523.1 Ops/sec
for..in 355.6 Ops/sec
lodash.forOwn 841.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.each

  • lodash.map

  • Object.entries.map

  • Object.entries + for

  • Object.entries + for..of

  • forEach

  • for..in

  • lodash.forOwn


;