Tests:
-
typeof -> object
-
Object.prototype.toString.call -> object
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
11 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 OPR/124.0.0.0
Opera 124 on Linux
View result in a separate tab
Object.prototype.toString.call -> object
2.6M/s
View exact numbers
| Test name |
Executions per second |
|
✓
typeof -> object
|
6,344,588 Ops/sec |
|
Object.prototype.toString.call -> object
|
2,587,097 Ops/sec |
Do you really want to delete benchmark?