Run details:
Mozilla/5.0 (Linux; Android 8.1.0; S50_Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.36 Mobile Safari/537.36
Chrome Mobile 79
Android 8.1.0
Mobile
4 years ago
Test name Executions per second
className 729.9 Ops/sec
setAttribute 468.1 Ops/sec
classList 477.0 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;