Run details:
Mozilla/5.0 (iPad; CPU OS 10_1_1 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) CriOS/56.0.2924.79 Mobile/14B100 Safari/602.1
Chrome Mobile iOS 56
iOS 10.1.1
iPad
7 years ago
Test name Executions per second
className 13550.5 Ops/sec
setAttribute 7794.6 Ops/sec
classList 5970.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;