Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Linux
Other
7 years ago
Test name Executions per second
className 5894.9 Ops/sec
setAttribute 3708.6 Ops/sec
classList 2377.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;