Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SAMSUNG SM-G935F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/7.2 Chrome/59.0.3071.125 Mobile Safari/537.36
Chrome Mobile 59
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
className 1421.8 Ops/sec
setAttribute 992.3 Ops/sec
classList 1771.5 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;