Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/64.0.3282.167 Chrome/64.0.3282.167 Safari/537.36
Chromium 64
Ubuntu
Other
2025 years ago
Test name Executions per second
className 2085.7 Ops/sec
setAttribute 1780.4 Ops/sec
classList 1599.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;