Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
Chrome 80
Windows
Desktop
4 years ago
Test name Executions per second
lodash.each 660.7 Ops/sec
lodash.map 586.2 Ops/sec
Object.entries.map 199.7 Ops/sec
Object.entries + for 204.0 Ops/sec
Object.entries + for..of 197.8 Ops/sec
forEach 284.8 Ops/sec
for..in 214.0 Ops/sec
lodash.forOwn 657.2 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


;