Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
Chrome 94
Linux
Desktop
3 years ago
Test name Executions per second
lodash.each 820.3 Ops/sec
lodash.map 794.4 Ops/sec
Object.entries.map 334.5 Ops/sec
Object.entries + for 337.9 Ops/sec
Object.entries + for..of 341.3 Ops/sec
forEach 525.4 Ops/sec
for..in 328.4 Ops/sec
lodash.forOwn 789.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


;