Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
Instanceof 1831411.1 Ops/sec
isArray 1867192.4 Ops/sec
variable.constructor 1911601.0 Ops/sec
variable.constructor name 2772553.2 Ops/sec
Script Preparation code:
Tests:
  • Instanceof

  • isArray

  • variable.constructor

  • variable.constructor name