Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Chrome 78
Linux
Desktop
4 years ago
Test name Executions per second
lodash.each 497.0 Ops/sec
lodash.map 426.7 Ops/sec
Object.entries.map 204.7 Ops/sec
Object.entries + for 226.6 Ops/sec
Object.entries + for..of 232.0 Ops/sec
forEach 325.5 Ops/sec
for..in 204.2 Ops/sec
lodash.forOwn 534.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


;