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 946885.5 Ops/sec
class name 2110082.2 Ops/sec
class name with data attribute 1062089.8 Ops/sec
HTML Preparation code:
Tests:
  • data attribute

  • class name

  • class name with data attribute