Run details:
Mozilla/5.0 (X11; CrOS x86_64 15054.98.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Chrome OS 15054.98.0
Desktop
2 years ago
Test name Executions per second
className 5211.8 Ops/sec
setAttribute 1082.7 Ops/sec
classList 1164.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;