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 700.2 Ops/sec
lodash.map 672.4 Ops/sec
Object.entries.map 235.6 Ops/sec
Object.entries + for 260.3 Ops/sec
Object.entries + for..of 259.1 Ops/sec
forEach 453.4 Ops/sec
for..in 290.8 Ops/sec
lodash.forOwn 689.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


;