Run details:
Mozilla/5.0 (Linux; Android 10; MI 9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
data attribute 177999.6 Ops/sec
class name 191204.7 Ops/sec
class name with data attribute 143166.4 Ops/sec
HTML Preparation code:
Tests:
  • data attribute

  • class name

  • class name with data attribute