Run details:
Mozilla/5.0 (X11; CrOS x86_64 13982.88.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.162 Safari/537.36
Chrome 92
Chrome OS 13982.88.0
Desktop
3 years ago
Test name Executions per second
className 3625.0 Ops/sec
setAttribute 2312.8 Ops/sec
classList 2485.7 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;