Script Preparation code:
Tests:

Historical Performance Data aggregated from 25 community runs

Desktop Results:
Chrome 19 runs
Symbol Property get
16.6M/s
Symbol Property set
16.5M/s
WeakMap set
15.1M/s
WeakMap get
14.6M/s

Fastest: Symbol Property get (1.1x faster)

View exact numbers
  • Symbol Property get: 16,612,230 ops/sec
  • Symbol Property set: 16,539,254 ops/sec
  • WeakMap set: 15,089,846 ops/sec
  • WeakMap get: 14,612,920 ops/sec
Firefox 6 runs
Symbol Property get
1261.4M/s
Symbol Property set
838.6M/s
WeakMap get
51.4M/s
WeakMap set
30.8M/s

Fastest: Symbol Property get (41.0x faster)

View exact numbers
  • Symbol Property get: 1,261,427,456 ops/sec
  • Symbol Property set: 838,645,056 ops/sec
  • WeakMap get: 51,392,464 ops/sec
  • WeakMap set: 30,784,540 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
    WeakMap set
    Symbol Property set
    WeakMap get
    Symbol Property get

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Chrome 147 on Windows
View result in a separate tab
Symbol Property get
195.0M/s
Symbol Property set
187.2M/s
WeakMap get
113.1M/s
WeakMap set
107.7M/s
View exact numbers
Test name Executions per second
Symbol Property get 195,048,672 Ops/sec
Symbol Property set 187,236,704 Ops/sec
WeakMap get 113,092,232 Ops/sec
WeakMap set 107,728,912 Ops/sec