HTML Preparation code:
Tests:
  • class

  • ID

  • data-attribute exists

  • data-attribute partial value

  • data-attribute exact value

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    class
    ID
    data-attribute exists
    data-attribute partial value
    data-attribute exact value

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 OPR/78.0.4093.147 (Edition Campaign 67)
Opera 78 on Windows 7
View result in a separate tab
Test name Executions per second
class 7702.4 Ops/sec
ID 8108.8 Ops/sec
data-attribute exists 4182.5 Ops/sec
data-attribute partial value 858.1 Ops/sec
data-attribute exact value 1422.7 Ops/sec


;