Run details:
Mozilla/5.0 (Linux; Android 7.0; MI 5 Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.98 Mobile Safari/537.36
Chrome Mobile 61
Android 7.0
MI 5
7 years ago
Test name Executions per second
className 555.2 Ops/sec
setAttribute 483.0 Ops/sec
classList 384.2 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;