Run details:
Mozilla/5.0 (Linux; Android 6.0; Pars) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Mobile Safari/537.36
Chrome Mobile 93
Android 6.0
Mobile
3 years ago
Test name Executions per second
dataset 88422.3 Ops/sec
getAttribute 92403.0 Ops/sec
jQuery .data() 3378.0 Ops/sec
jQuery .attr() 2502.2 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()