Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
3 years ago
Test name Executions per second
data attribute 26127.1 Ops/sec
class name 52457.9 Ops/sec
HTML Preparation code:
Tests:
  • data attribute

  • class name