Run details:
Mozilla/5.0 (Linux; Android 6.0.1; Redmi 4A Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36
Chrome Mobile 59
Android 6.0.1
Redmi 4A
7 years ago
Test name Executions per second
className 316.7 Ops/sec
setAttribute 265.0 Ops/sec
classList 731.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;