Run details:
Mozilla/5.0 (Linux; Android 8.0.0; moto g(6) play) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Chrome Mobile 94
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
className 363.5 Ops/sec
setAttribute 217.0 Ops/sec
classList 261.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;