HTML Preparation code:
Tests:
  • Class

  • ID

  • data attribute

  • data attribute with tag

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Class
    ID
    data attribute
    data attribute with tag

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
Chrome 93 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Class 3726440.0 Ops/sec
ID 2073612.2 Ops/sec
data attribute 1395675.4 Ops/sec
data attribute with tag 1438337.0 Ops/sec