Tests:
-
WeakMap set
-
Symbol Property set
-
WeakMap get
-
Symbol Property get
-
String Property set
-
String Property get
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120 on Mac OS X 10.15.7
View result in a separate tab
String Property get
12.5M/s
Symbol Property set
12.5M/s
Symbol Property get
12.5M/s
String Property set
12.4M/s
View exact numbers
| Test name |
Executions per second |
|
✓
String Property get
|
12,486,915 Ops/sec |
|
Symbol Property set
|
12,471,522 Ops/sec |
|
Symbol Property get
|
12,468,970 Ops/sec |
|
String Property set
|
12,397,484 Ops/sec |
|
WeakMap get
|
11,771,086 Ops/sec |
|
WeakMap set
|
11,643,148 Ops/sec |
Do you really want to delete benchmark?