Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Getcko/20100101 Firefox/60.0
Firefox 60
Windows 7
Other
6 years ago
Test name Executions per second
className 8819.8 Ops/sec
setAttribute 4655.7 Ops/sec
classList 2172.5 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;