Run details:
Mozilla/5.0 (Android 10; Mobile; rv:84.0) Gecko/84.0 Firefox/84.0
Firefox Mobile 84
Android
Mobile
3 years ago
Test name Executions per second
className 7499.3 Ops/sec
setAttribute 4563.8 Ops/sec
classList 1651.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;