Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Linux
Desktop
2 years ago
Test name Executions per second
dataset 1035174.3 Ops/sec
getAttribute 1083338.8 Ops/sec
jQuery .data() 17499.1 Ops/sec
jQuery .attr() 17607.3 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()