Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36
Chrome 92
Linux
Desktop
3 years ago
Test name Executions per second
ArrayBuffer.isView true 4009684.2 Ops/sec
instanceof true 3937081.8 Ops/sec
ArrayBuffer.isView false 3686135.2 Ops/sec
instanceof false 3632482.0 Ops/sec
HTML Preparation code:
Tests:
  • ArrayBuffer.isView true

  • instanceof true

  • ArrayBuffer.isView false

  • instanceof false