Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:64.0) Gecko/20100101 Firefox/64.0
Firefox 64
Mac OS X 10.11
Desktop
5 years ago
Test name Executions per second
className 11583.4 Ops/sec
setAttribute 5303.0 Ops/sec
classList 2953.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;