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 12068350.0 Ops/sec
Symbol Property set 10981740.0 Ops/sec
WeakMap get 4988339.0 Ops/sec
Symbol Property get 4992260.0 Ops/sec
Symbol Property get (from own descriptor) 3243163.0 Ops/sec
Symbol Property get (if hasOwn) 2923386.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)