Run details:
Mozilla/5.0 (Android 8.0.0; Mobile; rv:88.0) Gecko/88.0 Firefox/88.0
Firefox Mobile 88
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
className 288.4 Ops/sec
setAttribute 246.9 Ops/sec
classList 177.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;