Run details:
Mozilla/5.0 (Linux; Android 6.0; 8063) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.134 Safari/537.36 OPR/70.3.3653.66308
Opera 70
Android 6.0
Desktop
2 years ago
Test name Executions per second
dataset 53242.0 Ops/sec
getAttribute 59502.8 Ops/sec
jQuery .data() 1584.8 Ops/sec
jQuery .attr() 1327.6 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()