WeakMap set vs Symbol Property set vs WeakMap get vs Symbol Property get vs Symbol Property get (from own descriptor) vs Symbol Property get (if hasOwn)| Test case name | Result |
|---|---|
| WeakMap set | |
| Symbol Property set | |
| WeakMap get | |
| Symbol Property get | |
| Symbol Property get (from own descriptor) | |
| Symbol Property get (if hasOwn) |
| Test name | Executions per second |
|---|---|
| ✓ Symbol Property set | 14,978,403 Ops/sec |
| WeakMap set | 14,126,756 Ops/sec |
| Symbol Property get | 7,425,304 Ops/sec |
| WeakMap get | 7,216,884 Ops/sec |
| Symbol Property get (from own descriptor) | 4,879,848 Ops/sec |
| Symbol Property get (if hasOwn) | 3,861,038 Ops/sec |