Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Class 7462985.0 Ops/sec
ID 5839545.0 Ops/sec
data attribute with given value 5065728.5 Ops/sec
data attribute without given value 5029450.0 Ops/sec
HTML Preparation code:
Tests:
  • Class

  • ID

  • data attribute with given value

  • data attribute without given value