Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Chrome 102
Windows
Desktop
2 years ago
Test name Executions per second
lodash.each 1037.4 Ops/sec
lodash.map 1024.4 Ops/sec
Object.entries.map 433.5 Ops/sec
Object.entries + for 438.5 Ops/sec
Object.entries + for..of 443.7 Ops/sec
forEach 634.4 Ops/sec
for..in 428.7 Ops/sec
lodash.forOwn 1054.9 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


;