Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
dataset 916563.0 Ops/sec
getAttribute 830164.1 Ops/sec
jQuery .data() 13396.5 Ops/sec
jQuery .attr() 10999.2 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()


;