Run details:
Mozilla/5.0 (Linux; Android 8.1.0; moto x4 Build/OPW28.46-18) 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 1327.4 Ops/sec
setAttribute 955.1 Ops/sec
classList 733.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;