Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SM-N910H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.110 Mobile Safari/537.36
Chrome Mobile 86
Android 6.0.1
Mobile
3 years ago
Test name Executions per second
className 938.7 Ops/sec
setAttribute 630.0 Ops/sec
classList 709.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;