Run details:
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
Linux
Desktop
11 months ago
Benchmark.js
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 |
Tests:
-
typeof -> object
-
Object.prototype.toString.call -> object