Run details:
Mozilla/5.0 (Linux; Android 9; JDN2-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Safari/537.36
Chrome 94
Android
Desktop
3 years ago
Test name Executions per second
className 1636.2 Ops/sec
setAttribute 927.5 Ops/sec
classList 1076.0 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;