Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Accessing map
28/s
Filling object
28/s
Filling map
25/s
Accessing object
19/s

Fastest: Accessing map (1.5x faster)

View exact numbers
  • Accessing map: 28 ops/sec
  • Filling object: 28 ops/sec
  • Filling map: 25 ops/sec
  • Accessing object: 19 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
    Filling map
    Filling object
    Accessing map
    Accessing object

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Chrome 145 on Mac OS X 10.15.7
View result in a separate tab
Filling object
46/s
Accessing map
36/s
Filling map
32/s
Accessing object
19/s
View exact numbers
Test name Executions per second
Filling object 46 Ops/sec
Accessing map 36 Ops/sec
Filling map 32 Ops/sec
Accessing object 19 Ops/sec