Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0
Firefox 53
Mac OS X 10.12
Other
7 years ago
Test name Executions per second
className 10350.4 Ops/sec
setAttribute 5596.7 Ops/sec
classList 3312.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;