Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87
Windows
Desktop
3 years ago
Test name Executions per second
lodash.each 417.1 Ops/sec
lodash.map 394.0 Ops/sec
Object.entries.map 136.2 Ops/sec
Object.entries + for 134.0 Ops/sec
Object.entries + for..of 148.0 Ops/sec
forEach 244.9 Ops/sec
for..in 180.5 Ops/sec
lodash.forOwn 432.3 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


;