Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Map.get 847850624.0 Ops/sec
WeakMap.get 154166464.0 Ops/sec
array[0] 847074368.0 Ops/sec
object.a 850010624.0 Ops/sec
object[symbol] 847787328.0 Ops/sec
Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]


;