Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Windows 8.1
Desktop
one year ago
Test name Executions per second
dataset 328282.4 Ops/sec
getAttribute 324656.0 Ops/sec
jQuery .data() 6628.5 Ops/sec
jQuery .attr() 2069.0 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()