Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
Chrome 76
Linux
Desktop
one month ago
Test name Executions per second
className 3451.7 Ops/sec
setAttribute 2063.7 Ops/sec
classList 2368.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList