Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Chrome OS 14541.0.0
Desktop
4 months ago
Test name Executions per second
nodeType 3783733.2 Ops/sec
instanceof 3482605.2 Ops/sec
nodeType literal 5033197.0 Ops/sec
Script Preparation code:
Tests:
  • nodeType

  • instanceof

  • nodeType literal


;