Run details:
Mozilla/5.0 (Linux; Android 6.0.1; D6603) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.12 Mobile Safari/537.36
Chrome Mobile 84
Android 6.0.1
Mobile
3 years ago
Test name Executions per second
className 463.5 Ops/sec
setAttribute 289.5 Ops/sec
classList 308.0 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;