Run details:
Mozilla/5.0 (Linux; Android 7.0; LG-H870 Build/NRD90U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36
Chrome Mobile 66
Android 7.0
Mobile
6 years ago
Test name Executions per second
className 2056.3 Ops/sec
setAttribute 1068.6 Ops/sec
classList 676.1 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;