HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.each

  • lodash.map

  • Object.entries.map

  • Object.entries + for

  • Object.entries + for of

  • foreach

  • for..in

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    lodash.each
    lodash.map
    Object.entries.map
    Object.entries + for
    Object.entries + for of
    foreach
    for..in

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
Chrome 80 on Windows
View result in a separate tab
Test name Executions per second
lodash.each 2077.1 Ops/sec
lodash.map 1498.2 Ops/sec
Object.entries.map 654.5 Ops/sec
Object.entries + for 757.6 Ops/sec
Object.entries + for of 754.4 Ops/sec
foreach 579.9 Ops/sec
for..in 331.8 Ops/sec