Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.136 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
dataset 329463.9 Ops/sec
getAttribute 336965.5 Ops/sec
jQuery .data() 9610.1 Ops/sec
jQuery .attr() 9468.2 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()