Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/67.0.3396.99 Chrome/67.0.3396.99 Safari/537.36
Chromium 67
Ubuntu
Desktop
6 years ago
Test name Executions per second
className 6919.5 Ops/sec
setAttribute 5058.5 Ops/sec
classList 4205.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;