Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Windows
Desktop
19 days ago
Test name Executions per second
data attribute with value 636411.1 Ops/sec
class name 975314.9 Ops/sec
class name with data attribute 513601.3 Ops/sec
data attribute without value 889240.2 Ops/sec
HTML Preparation code:
Tests:
  • data attribute with value

  • class name

  • class name with data attribute

  • data attribute without value