Script Preparation code:
Tests:
  • Array.map with Object.fromEntries

  • Array.map with new Map

  • Reduce with new Object (`{}`) (reusing object)

  • Reduce with new Object (`{}`) (creating temporary objects)

  • Reduce with new Map (reusing map)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.map with Object.fromEntries
    Array.map with new Map
    Reduce with new Object (`{}`) (reusing object)
    Reduce with new Object (`{}`) (creating temporary objects)
    Reduce with new Map (reusing map)

    Fastest: N/A

    Slowest: N/A

Latest run results:

No previous run results

This benchmark does not have any results yet. Be the first one to run it!