Run details:
Mozilla/5.0 (Linux; Android 11; SM-G985F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
3 years ago
Test name Executions per second
dataset 667774.2 Ops/sec
getAttribute 676025.8 Ops/sec
jQuery .data() 15868.9 Ops/sec
jQuery .attr() 16210.8 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()