Run details:
Mozilla/5.0 (Linux; Android 10; Infinix X657B Build/QP1A.190711.020; rv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Rocket/2.6.2(20653) Chrome/105.0.5195.79 Mobile Safari/537.36
Chrome Mobile 105
Android
Mobile
one year ago
Test name Executions per second
dataset 127806.5 Ops/sec
getAttribute 103848.6 Ops/sec
jQuery .data() 2743.2 Ops/sec
jQuery .attr() 2810.0 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()