Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 OPR/67.0.3575.137
Opera 67
Linux
Desktop
4 years ago
Test name Executions per second
lodash.each 2147.8 Ops/sec
lodash.map 1458.0 Ops/sec
Object.entries.map 1212.1 Ops/sec
Object.entries + for 1584.7 Ops/sec
Object.entries + for..of 1535.9 Ops/sec
forEach 1082.0 Ops/sec
for..in 603.8 Ops/sec
lodash.forOwn 2166.8 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


;