Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 10_2_1 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) GSA/22.0.141836113 Mobile/14D27 Safari/600.1.4
Mobile Safari 10
iOS 10.2.1
iPhone
7 years ago
Test name Executions per second
className 27227.2 Ops/sec
setAttribute 15068.1 Ops/sec
classList 10653.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;