Run details:
Mozilla/5.0 (Linux; Android 8.0.0; RNE-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Mobile Safari/537.36
Chrome Mobile 78
Android 8.0.0
Mobile
4 years ago
Test name Executions per second
className 807.9 Ops/sec
setAttribute 475.8 Ops/sec
classList 523.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;