Run details:
Mozilla/5.0 (Linux; Android 10; SM-G960F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36
Chrome Mobile 111
Android
Mobile
one year ago
Test name Executions per second
data attribute 204702.0 Ops/sec
class name 353035.1 Ops/sec
class name with data attribute 223376.8 Ops/sec
HTML Preparation code:
Tests:
  • data attribute

  • class name

  • class name with data attribute