Run details:
Mozilla/5.0 (iPad; CPU OS 11_1 like Mac OS X) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0 Mobile/15B5086a Safari/604.1
Mobile Safari 11
iOS 11.1
iPad
7 years ago
Test name Executions per second
className 25855.0 Ops/sec
setAttribute 14227.0 Ops/sec
classList 10156.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;