Tests:
-
isArray
-
instanceof
-
Object.prototype.toString.call
-
type
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126 on Chrome OS 14541.0.0
View result in a separate tab
Object.prototype.toString.call
598K/s
View exact numbers
| Test name |
Executions per second |
|
✓
isArray
|
2,048,784 Ops/sec |
|
instanceof
|
1,745,729 Ops/sec |
|
Object.prototype.toString.call
|
598,002 Ops/sec |
|
type
|
383,290 Ops/sec |
Do you really want to delete benchmark?