Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125
Windows
Desktop
6 months ago
Test name Executions per second
lodash.each 3264.9 Ops/sec
lodash.map 2645.8 Ops/sec
Object.entries.map 3306.0 Ops/sec
Object.entries + for 4634.2 Ops/sec
Object.entries + for..of 3830.0 Ops/sec
forEach 3212.5 Ops/sec
for..in 3991.7 Ops/sec
lodash.forOwn 3634.4 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


;