Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Windows 7
Desktop
5 years ago
Test name Executions per second
className 9370.5 Ops/sec
setAttribute 5197.9 Ops/sec
classList 2289.5 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;