HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    dataset
    getAttribute
    jQuery .data()
    jQuery .attr()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 days ago)
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128 on Linux
View result in a separate tab
Test name Executions per second
dataset 441828.1 Ops/sec
getAttribute 471112.2 Ops/sec
jQuery .data() 8263.4 Ops/sec
jQuery .attr() 7875.5 Ops/sec