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 14126756.0 Ops/sec
Symbol Property set 14978403.0 Ops/sec
WeakMap get 7216884.5 Ops/sec
Symbol Property get 7425304.5 Ops/sec
Symbol Property get (from own descriptor) 4879848.0 Ops/sec
Symbol Property get (if hasOwn) 3861038.2 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)


;