Run details:
Mozilla/5.0 (Linux; Android 6.0; Lenovo A7700) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
Chrome Mobile 93
Android 6.0
Mobile
3 years ago
Test name Executions per second
className 318.5 Ops/sec
setAttribute 161.4 Ops/sec
classList 210.0 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;