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
one month ago
Test name Executions per second
WeakMap set 10728810.0 Ops/sec
Symbol Property set 11592600.0 Ops/sec
WeakMap get 5138926.0 Ops/sec
Symbol Property get 5908236.0 Ops/sec
Symbol Property get (from own descriptor) 3918383.0 Ops/sec
Symbol Property get (if hasOwn) 3529869.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)