Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Windows
Desktop
4 years ago
Test name Executions per second
lodash.each 676.9 Ops/sec
lodash.map 563.8 Ops/sec
Object.entries.map 444.2 Ops/sec
Object.entries + for 450.3 Ops/sec
Object.entries + for..of 425.1 Ops/sec
forEach 736.1 Ops/sec
for..in 873.2 Ops/sec
lodash.forOwn 751.8 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


;