Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.206
Opera 68
Windows
Desktop
3 years ago
Test name Executions per second
data attribute 484214.1 Ops/sec
class name 903350.5 Ops/sec
HTML Preparation code:
Tests:
  • data attribute

  • class name