Run details:
Mozilla/5.0 (Linux; Android 11; SM-F916B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Mobile Safari/537.36
Chrome Mobile 89
Android
Mobile
3 years ago
Test name Executions per second
dataset 471202.0 Ops/sec
getAttribute 479892.1 Ops/sec
jQuery .data() 19421.9 Ops/sec
jQuery .attr() 19588.9 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()