Run details:
Mozilla/5.0 (X11; CrOS armv7l 9765.81.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.120 Safari/537.36
Chrome 61
Chrome OS 9765.81.0
Other
6 years ago
Test name Executions per second
className 621.4 Ops/sec
setAttribute 531.7 Ops/sec
classList 464.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;