Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0
Firefox 45
Mac OS X 10.11
Other
7 years ago
Test name Executions per second
className 12004.0 Ops/sec
setAttribute 7118.8 Ops/sec
classList 2920.3 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;