Run details:
Mozilla/5.0 (Linux; Android 8.1.0; soda S2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.89 Mobile Safari/537.36
Chrome Mobile 76
Android 8.1.0
Mobile
5 years ago
Test name Executions per second
className 879.4 Ops/sec
setAttribute 527.3 Ops/sec
classList 584.3 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;