Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Nexus 5X Build/OPM6.171019.030.E1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Mobile Safari/537.36
Chrome Mobile 67
Android 8.1.0
Mobile
6 years ago
Test name Executions per second
className 1314.8 Ops/sec
setAttribute 836.0 Ops/sec
classList 776.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;