Tests:

Historical Performance Data aggregated from 6 community runs

Desktop Results:
Chrome 6 runs
Preallocation
252/s
Map
61/s

Fastest: Preallocation (4.1x faster)

View exact numbers
  • Preallocation: 252 ops/sec
  • Map: 61 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
    Map
    Preallocation

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Linux
View result in a separate tab
Preallocation
278/s
Map
68/s
View exact numbers
Test name Executions per second
Preallocation 278 Ops/sec
Map 68 Ops/sec