Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Windows
Desktop
one year ago
Test name Executions per second
Map.get 1426758912.0 Ops/sec
WeakMap.get 113093504.0 Ops/sec
array[0] 1493762176.0 Ops/sec
object.a 1481710976.0 Ops/sec
object[symbol] 1493192192.0 Ops/sec
Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]


;