Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    instanceof
    tagName.toLowerCase()
    nodeName.toLowerCase()
    localName
    __proto__

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0
Chrome 142 on Windows
View result in a separate tab
__proto__
14.4M/s
instanceof
12.0M/s
localName
11.2M/s
nodeName.toLowerCase()
9.9M/s
tagName.toLowerCase()
9.7M/s
View exact numbers
Test name Executions per second
__proto__ 14,373,758 Ops/sec
instanceof 12,046,872 Ops/sec
localName 11,190,907 Ops/sec
nodeName.toLowerCase() 9,937,545 Ops/sec
tagName.toLowerCase() 9,732,818 Ops/sec