Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Mac OS X 10.15
Desktop
9 months ago
Test name Executions per second
className 41693.7 Ops/sec
setAttribute 24673.8 Ops/sec
classList 12428.5 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;