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

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one month 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.0 Ops/sec
WeakMap.get 991640.4 Ops/sec
array[0] 1304016.0 Ops/sec
object.a 1303644.0 Ops/sec
object[symbol] 931890.5 Ops/sec