Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Firefox 59
Linux
Other
6 years ago
Test name Executions per second
className 8804.6 Ops/sec
setAttribute 5090.4 Ops/sec
classList 2805.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;