Run details:
Mozilla/5.0 (Linux; Android 9; DUK-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36
Chrome Mobile 75
Android
Mobile
5 years ago
Test name Executions per second
className 1560.0 Ops/sec
setAttribute 870.4 Ops/sec
classList 871.6 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;