Run details:
Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Windows
Desktop
11 months ago
Test name Executions per second
className 33910.8 Ops/sec
setAttribute 22994.2 Ops/sec
classList 12123.1 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;