Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Windows
Desktop
2 years ago
Test name Executions per second
ArrayBuffer.isView true 3192969.0 Ops/sec
instanceof true 3082052.2 Ops/sec
ArrayBuffer.isView false 3154957.8 Ops/sec
instanceof false 3158242.0 Ops/sec
HTML Preparation code:
Tests:
  • ArrayBuffer.isView true

  • instanceof true

  • ArrayBuffer.isView false

  • instanceof false


;