Run details:
Mozilla/5.0 (Linux; Android 12; SM-N975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
className 8224.7 Ops/sec
setAttribute 3004.0 Ops/sec
classList 2451.9 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;