Run details:
Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
Chrome 48
Linux
Other
7 years ago
Test name Executions per second
className 1636.0 Ops/sec
setAttribute 1387.1 Ops/sec
classList 3388.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;