Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0
Firefox 69
Linux
Desktop
5 years ago
Test name Executions per second
className 5727.5 Ops/sec
setAttribute 4239.8 Ops/sec
classList 2226.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;