Run details:
Mozilla/5.0 (Linux; Android 10; YAL-L41) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
dataset 632337.6 Ops/sec
getAttribute 645049.0 Ops/sec
jQuery .data() 18825.8 Ops/sec
jQuery .attr() 19387.7 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()