Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Chrome 83
Linux
Desktop
4 years ago
Test name Executions per second
lodash.each 694.0 Ops/sec
lodash.map 643.7 Ops/sec
Object.entries.map 237.1 Ops/sec
Object.entries + for 239.3 Ops/sec
Object.entries + for..of 235.6 Ops/sec
forEach 432.6 Ops/sec
for..in 263.7 Ops/sec
lodash.forOwn 654.6 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


;