Run details:
Mozilla/5.0 (Linux; Android 11; SM-N985F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
className 1798.1 Ops/sec
setAttribute 909.1 Ops/sec
classList 1214.1 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;