Run details:
Mozilla/5.0 (Linux; Android 7.1.2; Pixel Build/NJH47F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36
Chrome Mobile 59
Android 7.1.2
Pixel
7 years ago
Test name Executions per second
className 522.2 Ops/sec
setAttribute 510.2 Ops/sec
classList 1036.6 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;