Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50
Mac OS X 10.12
Other
7 years ago
Test name Executions per second
className 8112.9 Ops/sec
setAttribute 4544.3 Ops/sec
classList 3070.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;