Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:54.0) Gecko/20100101 Firefox/54.0
Firefox 54
Mac OS X 10.11
Other
7 years ago
Test name Executions per second
className 9423.4 Ops/sec
setAttribute 5246.4 Ops/sec
classList 2931.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;