Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36
Chrome 61
Linux
Other
7 years ago
Test name Executions per second
className 2397.6 Ops/sec
setAttribute 3172.0 Ops/sec
classList 1655.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;