Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
one year ago
Test name Executions per second
data attribute 23118.6 Ops/sec
class name 66861.5 Ops/sec
class name with data attribute 24526.6 Ops/sec
HTML Preparation code:
Tests:
  • data attribute

  • class name

  • class name with data attribute