Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Windows
Desktop
one year ago
Test name Executions per second
Map.get 577581760.0 Ops/sec
WeakMap.get 57841912.0 Ops/sec
array[0] 605075968.0 Ops/sec
object.a 498324768.0 Ops/sec
object[symbol] 599515200.0 Ops/sec
Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]


;