Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:103.0) Gecko/20100101 Firefox/103.0
Firefox 103
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
lodash.each 3582.7 Ops/sec
lodash.map 2664.2 Ops/sec
Object.entries.map 2522.4 Ops/sec
Object.entries + for 2880.0 Ops/sec
Object.entries + for..of 2748.7 Ops/sec
forEach 2929.1 Ops/sec
for..in 4047.1 Ops/sec
lodash.forOwn 3635.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


;