Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.10 Chrome/87.0.4280.144 Safari/537.36
Chrome 87
Linux
Desktop
one year ago
Test name Executions per second
nodeType 1277227.0 Ops/sec
instanceof 1207956.4 Ops/sec
nodeType literal 1765059.0 Ops/sec
Script Preparation code:
Tests:
  • nodeType

  • instanceof

  • nodeType literal


;