Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Windows
Desktop
one year ago
Test name Executions per second
Map.get 716277312.0 Ops/sec
WeakMap.get 47611164.0 Ops/sec
array[0] 778637184.0 Ops/sec
object.a 754911744.0 Ops/sec
object[symbol] 731938112.0 Ops/sec
Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]


;