Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0
Firefox 144
Linux
Desktop
8 months ago
Test name Executions per second
data attribute with value 625060.3 Ops/sec
class name 1023805.5 Ops/sec
class name with data attribute 491975.8 Ops/sec
data attribute without value 980646.9 Ops/sec
HTML Preparation code:
Tests:
  • data attribute with value

  • class name

  • class name with data attribute

  • data attribute without value