Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:51.0) Gecko/20100101 Firefox/51.0
Firefox 51
Mac OS X 10.11
Other
7 years ago
Test name Executions per second
className 7928.8 Ops/sec
setAttribute 4389.4 Ops/sec
classList 2474.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;