Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A6003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
className 2387.0 Ops/sec
setAttribute 1492.7 Ops/sec
classList 1530.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;