Run details:
Mozilla/5.0 (Linux; Android 6.0; M5 mini) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36
Chrome Mobile 74
Android 6.0
Mobile
5 years ago
Test name Executions per second
className 511.5 Ops/sec
setAttribute 288.0 Ops/sec
classList 299.6 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;