Run details:
Mozilla/5.0 (Linux; Android 11; T782H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
className 1471.5 Ops/sec
setAttribute 884.1 Ops/sec
classList 981.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;