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: 2 years ago)
Mozilla/5.0 (Android 11; Mobile; rv:103.0) Gecko/103.0 Firefox/103.0
Firefox Mobile 103 on Android
View result in a separate tab
Test name Executions per second
dataset 421.2 Ops/sec
getAttribute 65235.4 Ops/sec
jQuery .data() 197.3 Ops/sec
jQuery .attr() 133.3 Ops/sec