Run details:
Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36
Chrome Mobile 75
Android 7.1.1
Mobile
5 years ago
Test name Executions per second
className 829.2 Ops/sec
setAttribute 376.0 Ops/sec
classList 462.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;