Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Linux
Desktop
8 months ago
Test name Executions per second
Instanceof 6034226.0 Ops/sec
isArray 5884061.5 Ops/sec
variable.constructor 5993026.0 Ops/sec
variable.constructor name 8362528.5 Ops/sec
Script Preparation code:
Tests:
  • Instanceof

  • isArray

  • variable.constructor

  • variable.constructor name