Run details:
Mozilla/5.0 (X11; CrOS x86_64 12499.66.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.106 Safari/537.36
Chrome 78
Chrome OS 12499.66.0
Desktop
4 years ago
Test name Executions per second
className 1445.6 Ops/sec
setAttribute 844.2 Ops/sec
classList 980.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;