Run details:
Mozilla/5.0 (Linux; Android 9; STF-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
dataset 297917.3 Ops/sec
getAttribute 288782.9 Ops/sec
jQuery .data() 8365.2 Ops/sec
jQuery .attr() 8290.3 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()


;