Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Linux
Other
2025 years ago
Test name Executions per second
className 6009.6 Ops/sec
setAttribute 3383.3 Ops/sec
classList 1771.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;