HTML Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Firefox 5 runs
id
4.1M/s
class
4.1M/s
data attribute
3.6M/s
uid
3.5M/s

Fastest: id (1.2x faster)

View exact numbers
  • id: 4,076,352 ops/sec
  • class: 4,057,625 ops/sec
  • data attribute: 3,628,566 ops/sec
  • uid: 3,453,610 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    data attribute
    class
    id
    uid

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0
Firefox 146 on Windows
View result in a separate tab
id
4.7M/s
data attribute
4.6M/s
class
4.6M/s
uid
4.3M/s
View exact numbers
Test name Executions per second
id 4,707,752 Ops/sec
data attribute 4,646,132 Ops/sec
class 4,645,091 Ops/sec
uid 4,329,929 Ops/sec