Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-N910F Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/6.4 Chrome/56.0.2924.87 Mobile Safari/537.36
Chrome Mobile 56
Android 6.0.1
Samsung SM-N910F
2025 years ago
Test name Executions per second
className 252.6 Ops/sec
setAttribute 221.2 Ops/sec
classList 651.5 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;