Run details:
Mozilla/5.0 (Linux; Android 7.1.1; ONEPLUS A5000 Build/NMF26X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.81 Mobile Safari/537.36
Chrome Mobile 61
Android 7.1.1
ONEPLUS A5000
7 years ago
Test name Executions per second
className 1116.7 Ops/sec
setAttribute 993.0 Ops/sec
classList 922.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;