Run details:
Mozilla/5.0 (Android 9; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0
Firefox Mobile 68
Android
Mobile
5 years ago
Test name Executions per second
className 6768.2 Ops/sec
setAttribute 3772.8 Ops/sec
classList 1651.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;