Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138
Mac OS X 10.15.7
Desktop
10 months ago
Test name Executions per second
Class 22930962.0 Ops/sec
ID 7052367.5 Ops/sec
data attribute 6144664.0 Ops/sec
just random attribute 9704604.0 Ops/sec
HTML Preparation code:
Tests:
  • Class

  • ID

  • data attribute

  • just random attribute