Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/124.0.6367.88 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 124
iOS 17.4
Mobile
8 months ago
Test name Executions per second
Class 5853664.0 Ops/sec
ID 4836582.5 Ops/sec
data attribute 3895721.2 Ops/sec
HTML Preparation code:
Tests:
  • Class

  • ID

  • data attribute