Run details:
Mozilla/5.0 (Android 9; Mobile; rv:88.0) Gecko/88.0 Firefox/88.0
Firefox Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
dataset 162122.5 Ops/sec
getAttribute 120903.7 Ops/sec
jQuery .data() 1041.0 Ops/sec
jQuery .attr() 1461.1 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()