Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Chrome 100
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
ArrayBuffer.isView true 7395622.5 Ops/sec
instanceof true 7287806.5 Ops/sec
ArrayBuffer.isView false 7479937.5 Ops/sec
instanceof false 7285326.5 Ops/sec
HTML Preparation code:
Tests:
  • ArrayBuffer.isView true

  • instanceof true

  • ArrayBuffer.isView false

  • instanceof false


;