Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
2 years ago
Test name Executions per second
dataset 210017.5 Ops/sec
getAttribute 208597.8 Ops/sec
jQuery .data() 9942.0 Ops/sec
jQuery .attr() 10022.9 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()