Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Map.get
    WeakMap.get
    array[0]
    object.a
    object[symbol]

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Chrome 136 on Mac OS X 10.15.7
View result in a separate tab
array[0]
18.6M/s
object.a
18.4M/s
Map.get
17.8M/s
WeakMap.get
17.5M/s
object[symbol]
17.3M/s
View exact numbers
Test name Executions per second
array[0] 18,560,010 Ops/sec
object.a 18,386,114 Ops/sec
Map.get 17,832,704 Ops/sec
WeakMap.get 17,493,770 Ops/sec
object[symbol] 17,309,896 Ops/sec