Run details:
Mozilla/5.0 (X11; CrOS x86_64 13421.53.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.77 Safari/537.36
Chrome 86
Chrome OS 13421.53.0
Desktop
4 years ago
Test name Executions per second
className 2972.6 Ops/sec
setAttribute 1992.4 Ops/sec
classList 2332.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;