Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.94 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 96
iOS 15.2
Mobile
2 years ago
Test name Executions per second
Class 3479272.8 Ops/sec
ID 3114047.0 Ops/sec
data attribute 3045567.0 Ops/sec
HTML Preparation code:
Tests:
  • Class

  • ID

  • data attribute