Run details:
Mozilla/5.0 (Linux; Android 6.0.1; MI 4W Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36
Chrome Mobile 68
Android 6.0.1
Mobile
6 years ago
Test name Executions per second
className 757.2 Ops/sec
setAttribute 556.5 Ops/sec
classList 212.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;