Script Preparation code:
Tests:

Historical Performance Data aggregated from 6 community runs

Desktop Results:
Chrome 6 runs
Map
3K/s
Object.fromEntries
330/s

Fastest: Map (8.3x faster)

View exact numbers
  • Map: 2,736 ops/sec
  • Object.fromEntries: 330 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object.fromEntries
    Map

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:145.0) Gecko/20100101 Firefox/145.0
Firefox 145 on Mac OS X 10.15
View result in a separate tab
Map
2K/s
Object.fromEntries
426/s
View exact numbers
Test name Executions per second
Map 1,832 Ops/sec
Object.fromEntries 426 Ops/sec