Run details:
Mozilla/5.0 (Linux; Android 7.0; SAMSUNG SM-G930W8 Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.0 Chrome/51.0.2704.106 Mobile Safari/537.36
Chrome Mobile 51
Android 7.0
Samsung SM-G930W8
7 years ago
Test name Executions per second
className 621.9 Ops/sec
setAttribute 767.7 Ops/sec
classList 1535.5 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;