Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Windows
Desktop
one year ago
Test name Executions per second
lodash.each 4743.6 Ops/sec
lodash.map 4843.3 Ops/sec
Object.entries.map 2049.1 Ops/sec
Object.entries + for 2293.5 Ops/sec
Object.entries + for..of 1919.3 Ops/sec
forEach 1110.9 Ops/sec
for..in 646.2 Ops/sec
lodash.forOwn 4728.0 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


;