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

  • lodash.map

  • Object.entries.map

  • vanilla for-loop w/ Object.entries

  • lodash.forEach

  • Object.values

  • Object.keys

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    lodash.each
    lodash.map
    Object.entries.map
    vanilla for-loop w/ Object.entries
    lodash.forEach
    Object.values
    Object.keys

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 25 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Chrome 131 on Windows
View result in a separate tab
Test name Executions per second
lodash.each 6541.1 Ops/sec
lodash.map 6308.8 Ops/sec
Object.entries.map 2602.3 Ops/sec
vanilla for-loop w/ Object.entries 3200.4 Ops/sec
lodash.forEach 6678.9 Ops/sec
Object.values 66147.1 Ops/sec
Object.keys 6121.4 Ops/sec