Script Preparation code:
Tests:
  • Array.isArray

  • instanceof

  • [].constructor

  • Object.prototype.toString

  • [].constructor.name

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.isArray
    instanceof
    [].constructor
    Object.prototype.toString
    [].constructor.name

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36
Chrome 87 on Mac OS X 10.11.6
View result in a separate tab
Test name Executions per second
Array.isArray 6561377.0 Ops/sec
instanceof 2230753.0 Ops/sec
[].constructor 2243595.8 Ops/sec
Object.prototype.toString 2910358.0 Ops/sec
[].constructor.name 5061853.5 Ops/sec