Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Redmi Note 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.117 Mobile Safari/537.36
Chrome Mobile 81
Android 8.1.0
Mobile
4 years ago
Test name Executions per second
className 1475.3 Ops/sec
setAttribute 872.8 Ops/sec
classList 905.3 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;