Script Preparation code:
Tests:
  • constructor comparison

  • instanceof operator

  • Array.isArray call

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    constructor comparison
    instanceof operator
    Array.isArray call

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 YaBrowser/24.7.0.0 Safari/537.36
Yandex Browser 24 on Linux
View result in a separate tab
Test name Executions per second
constructor comparison 10247796.0 Ops/sec
instanceof operator 10299846.0 Ops/sec
Array.isArray call 11119899.0 Ops/sec