Run details:
Mozilla/5.0 (Linux; Android 9; SM-N976N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.62 Mobile Safari/537.36
Chrome Mobile 78
Android
Mobile
5 years ago
Test name Executions per second
className 2681.7 Ops/sec
setAttribute 1523.6 Ops/sec
classList 1626.6 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;