Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/129.0.6668.46 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 129
iOS 17.6
Mobile
one month ago
Test name Executions per second
WeakMap set 10569100.0 Ops/sec
Symbol Property set 11138980.0 Ops/sec
WeakMap get 5211424.0 Ops/sec
Symbol Property get 4914574.0 Ops/sec
Symbol Property get (from own descriptor) 3157744.0 Ops/sec
Symbol Property get (if hasOwn) 2933374.0 Ops/sec
Script Preparation code:
Tests:
  • WeakMap set

  • Symbol Property set

  • WeakMap get

  • Symbol Property get

  • Symbol Property get (from own descriptor)

  • Symbol Property get (if hasOwn)