Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
dataset 1758719.8 Ops/sec
getAttribute 1836648.9 Ops/sec
jQuery .data() 28146.3 Ops/sec
jQuery .attr() 5194.5 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()