Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Firefox 51
Ubuntu
Other
7 years ago
Test name Executions per second
className 4216.0 Ops/sec
setAttribute 2935.0 Ops/sec
classList 1725.7 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;