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 748423872.0 Ops/sec
WeakMap.get 53728216.0 Ops/sec
array[0] 894831936.0 Ops/sec
object.a 714843776.0 Ops/sec
object[symbol] 697129792.0 Ops/sec
Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]


;