Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
Chrome 129
Mac OS X 10.15.7
Desktop
2 months ago
Test name Executions per second
WeakMap set 12068345.0 Ops/sec
Symbol Property set 10981743.0 Ops/sec
WeakMap get 4988339.0 Ops/sec
Symbol Property get 4992259.5 Ops/sec
Symbol Property get (from own descriptor) 3243162.8 Ops/sec
Symbol Property get (if hasOwn) 2923385.8 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)


;