Run details:
Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-A105FN/A105FNXXU6CUH3) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
2 years ago
Test name Executions per second
className 1031.5 Ops/sec
setAttribute 511.3 Ops/sec
classList 672.6 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;