Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Ubuntu
Desktop
2 months ago
Test name Executions per second
data attribute 409880.1 Ops/sec
class name 522461.7 Ops/sec
class name with data attribute 310644.4 Ops/sec
HTML Preparation code:
Tests:
  • data attribute

  • class name

  • class name with data attribute