Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1
Mobile Safari 9
iOS 9.1
iPhone
7 years ago
Test name Executions per second
className 18856.9 Ops/sec
setAttribute 10307.8 Ops/sec
classList 14859.6 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;