Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Chrome 49
Mac OS X 10.8.5
Desktop
2 years ago
Test name Executions per second
className 3292.5 Ops/sec
setAttribute 2001.5 Ops/sec
classList 2627.6 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;