Run details:
Mozilla/5.0 (X11; CrOS x86_64 13729.56.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.95 Safari/537.36
Chrome 89
Chrome OS 13729.56.0
Desktop
3 years ago
Test name Executions per second
className 4231.7 Ops/sec
setAttribute 1868.5 Ops/sec
classList 2128.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;