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

  • setAttribute

  • classList


;