Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Windows
Desktop
one year ago
Test name Executions per second
lodash.each 710.1 Ops/sec
lodash.map 690.7 Ops/sec
Object.entries.map 273.9 Ops/sec
Object.entries + for 300.5 Ops/sec
Object.entries + for..of 332.6 Ops/sec
forEach 462.2 Ops/sec
for..in 380.8 Ops/sec
lodash.forOwn 797.6 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


;