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 10324.0 Ops/sec
setAttribute 6967.6 Ops/sec
classList 2901.3 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;