Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 OPR/96.0.0.0
Opera 96
Windows
Desktop
one year ago
Test name Executions per second
lodash.each 710.5 Ops/sec
lodash.map 696.3 Ops/sec
Object.entries.map 307.2 Ops/sec
Object.entries + for 322.6 Ops/sec
Object.entries + for..of 305.5 Ops/sec
forEach 485.3 Ops/sec
for..in 329.8 Ops/sec
lodash.forOwn 747.7 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


;