Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Mac OS X 10.15
Desktop
10 months ago
Test name Executions per second
Map.get 843856384.0 Ops/sec
WeakMap.get 163694208.0 Ops/sec
array[0] 842926720.0 Ops/sec
object.a 820266240.0 Ops/sec
object[symbol] 840837376.0 Ops/sec
Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]


;