Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
Chrome 87
Linux
Desktop
3 years ago
Test name Executions per second
lodash.each 803.1 Ops/sec
lodash.map 790.2 Ops/sec
Object.entries.map 319.5 Ops/sec
Object.entries + for 336.2 Ops/sec
Object.entries + for..of 330.8 Ops/sec
forEach 509.3 Ops/sec
for..in 353.3 Ops/sec
lodash.forOwn 810.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


;