Run details:
Mozilla/5.0 (Android 11; Mobile; rv:88.0) Gecko/88.0 Firefox/88.0
Firefox Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
className 6796.4 Ops/sec
setAttribute 4358.1 Ops/sec
classList 1597.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;