Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89
Windows
Desktop
3 years ago
Test name Executions per second
lodash.each 251.8 Ops/sec
lodash.map 209.3 Ops/sec
Object.entries.map 61.6 Ops/sec
Object.entries + for 69.7 Ops/sec
Object.entries + for..of 68.1 Ops/sec
forEach 289.1 Ops/sec
for..in 98.2 Ops/sec
lodash.forOwn 242.5 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


;