Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Chrome 83
Windows
Desktop
4 years ago
Test name Executions per second
lodash.each 793.7 Ops/sec
lodash.map 787.2 Ops/sec
Object.entries.map 245.8 Ops/sec
Object.entries + for 256.6 Ops/sec
Object.entries + for..of 258.6 Ops/sec
forEach 425.9 Ops/sec
for..in 265.6 Ops/sec
lodash.forOwn 795.0 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


;