Script Preparation code:
Tests:

Historical Performance Data aggregated from 11 community runs

Desktop Results:
Chrome 6 runs
Preallocation
551/s
Map
125/s

Fastest: Preallocation (4.4x faster)

View exact numbers
  • Preallocation: 551 ops/sec
  • Map: 125 ops/sec
Firefox 5 runs
Preallocation
165/s
Map
152/s
View exact numbers
  • Preallocation: 165 ops/sec
  • Map: 152 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: 11 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138 on Mac OS X 10.15.7
View result in a separate tab
Preallocation
646/s
Map
117/s
View exact numbers
Test name Executions per second
Preallocation 646 Ops/sec
Map 117 Ops/sec