Run details:
Mozilla/5.0 (Linux; U; Android 6.0.1; SM-G532F Build/MMB29T; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/56.0.2924.87 Mobile Safari/537.36 OPR/62.1.2254.60552
Opera Mobile 62
Android 6.0.1
Mobile
2 years ago
Test name Executions per second
dataset 29217.9 Ops/sec
getAttribute 27989.4 Ops/sec
jQuery .data() 914.6 Ops/sec
jQuery .attr() 914.2 Ops/sec
HTML Preparation code:
Tests:
  • dataset

  • getAttribute

  • jQuery .data()

  • jQuery .attr()