Run details:
Mozilla/5.0 (Android 7.0; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0
Firefox Mobile 102
Android 7.0
Mobile
2 years ago
Test name Executions per second
className 2470.0 Ops/sec
setAttribute 1293.1 Ops/sec
classList 655.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;