Run details:
Mozilla/5.0 (iPad; CPU OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
Mobile Safari 16
iOS 16.1
Tablet
one year ago
Test name Executions per second
dataset 4176937.5 Ops/sec
getAttribute 4022849.8 Ops/sec
jQuery .data() 52090.2 Ops/sec
jQuery .attr() 54723.5 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()