Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
lodash.each 1784.5 Ops/sec
lodash.map 1501.0 Ops/sec
Object.entries.map 1040.5 Ops/sec
Object.entries + for 1070.9 Ops/sec
Object.entries + for..of 985.8 Ops/sec
forEach 1780.2 Ops/sec
for..in 1791.6 Ops/sec
lodash.forOwn 1735.1 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


;