Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73
Fedora
Desktop
4 years ago
Test name Executions per second
className 5145.8 Ops/sec
setAttribute 3757.6 Ops/sec
classList 2066.2 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;