Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Redmi Note 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.96 Mobile Safari/537.36
Chrome Mobile 83
Android 8.1.0
Mobile
3 years ago
Test name Executions per second
className 1028.1 Ops/sec
setAttribute 657.4 Ops/sec
classList 732.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;