Tests:
-
instanceof
-
key
-
double key
-
obj maybe null
-
obj typeof "object"
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Chrome 133 on Mac OS X 10.15.7
View result in a separate tab
obj typeof "object"
171.7M/s
View exact numbers
| Test name |
Executions per second |
|
✓
obj maybe null
|
182,615,984 Ops/sec |
|
double key
|
174,676,048 Ops/sec |
|
obj typeof "object"
|
171,665,968 Ops/sec |
|
key
|
163,030,768 Ops/sec |
|
instanceof
|
148,382,544 Ops/sec |
Do you really want to delete benchmark?