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 56532.6 Ops/sec
getAttribute 62114.9 Ops/sec
jQuery .data() 1980.7 Ops/sec
jQuery .attr() 1821.8 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()