Run details:
Mozilla/5.0 (Android 11; Mobile; rv:103.0) Gecko/103.0 Firefox/103.0
Firefox Mobile 103
Android
Mobile
2 years ago
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
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()