Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/8614.1.25.0.31 (KHTML, like Gecko) Version/16.0 Mobile/15E148 Safari/8614.1.25.0.31
Mobile Safari 16
iOS 16.0
Mobile
2 years ago
Test name Executions per second
data attribute 1928604.2 Ops/sec
class name 2589667.5 Ops/sec
HTML Preparation code:
Tests:
  • data attribute

  • class name