Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Windows
Desktop
one year ago
Test name Executions per second
lodash.each 2468.5 Ops/sec
lodash.map 1850.0 Ops/sec
Object.entries.map 1690.0 Ops/sec
Object.entries + for 2012.6 Ops/sec
Object.entries + for..of 1918.4 Ops/sec
forEach 2422.5 Ops/sec
for..in 2985.2 Ops/sec
lodash.forOwn 2454.5 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


;