Run details:
Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android 7.0
Mobile
one year ago
Test name Executions per second
className 344.0 Ops/sec
setAttribute 191.7 Ops/sec
classList 193.5 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;