Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0
Firefox 99
Windows
Desktop
2 years ago
Test name Executions per second
lodash.each 982.6 Ops/sec
lodash.map 692.1 Ops/sec
Object.entries.map 611.3 Ops/sec
Object.entries + for 729.2 Ops/sec
Object.entries + for..of 682.9 Ops/sec
forEach 990.0 Ops/sec
for..in 1279.3 Ops/sec
lodash.forOwn 1000.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


;