Run details:
Mozilla/5.0 (Linux; Android 5.1.1; Nexus 4 Build/LMY48T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Mobile Safari/537.36
Chrome Mobile 56
Android 5.1.1
Nexus 4
7 years ago
Test name Executions per second
className 154.4 Ops/sec
setAttribute 134.2 Ops/sec
classList 366.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;