Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36
Chrome 54
Linux
Other
7 years ago
Test name Executions per second
className 2553.4 Ops/sec
setAttribute 1949.9 Ops/sec
classList 5156.7 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;