Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]

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: 10 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36
Chrome Mobile 122 on Android
View result in a separate tab
Test name Executions per second
Map.get 1264033.2 Ops/sec
WeakMap.get 991640.4 Ops/sec
array[0] 1304015.9 Ops/sec
object.a 1303643.9 Ops/sec
object[symbol] 931890.5 Ops/sec