Run details:
Mozilla/5.0 (iPad; CPU OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/115.0.5790.130 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 115
iOS 16.5
Tablet
one year ago
Test name Executions per second
dataset 6150165.5 Ops/sec
getAttribute 4817690.5 Ops/sec
jQuery .data() 95000.7 Ops/sec
jQuery .attr() 96155.6 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()