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 2977.6 Ops/sec
setAttribute 2630.8 Ops/sec
classList 2369.5 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;