Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    isArray
    instanceof
    Object.prototype.toString.call
    type

    Fastest: N/A

    Slowest: N/A

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
isArray
2.0M/s
instanceof
1.7M/s
Object.prototype.toString.call
598K/s
type
383K/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