Run details:
Mozilla/5.0 (Android 10; Mobile; rv:87.0) Gecko/87.0 Firefox/87.0
Firefox Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
className 9578000.0 Ops/sec
classList 549551680.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • classList