Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 11_2_2 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/64.0.3282.112 Mobile/15C202 Safari/604.1
Chrome Mobile iOS 64
iOS 11.2.2
iPhone
2025 years ago
Test name Executions per second
className 34936.2 Ops/sec
setAttribute 19179.1 Ops/sec
classList 12800.6 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;