Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Windows 8.1
Desktop
one year ago
Test name Executions per second
Class 3714058.8 Ops/sec
ID 3548374.0 Ops/sec
data attribute 2096218.1 Ops/sec
attribute selector ~ one 1888051.5 Ops/sec
attribute selector ~ second 1875679.8 Ops/sec
HTML Preparation code:
Tests:
  • Class

  • ID

  • data attribute

  • attribute selector ~ one

  • attribute selector ~ second


;