Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
data attribute 961385.6 Ops/sec
class name 2082574.8 Ops/sec
class name with data attribute 1050323.5 Ops/sec
HTML Preparation code:
Tests:
  • data attribute

  • class name

  • class name with data attribute