Run details:
Mozilla/5.0 (Linux; Android 7.0; 5049Z Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36
Chrome Mobile 69
Android 7.0
Mobile
6 years ago
Test name Executions per second
className 890.2 Ops/sec
setAttribute 690.9 Ops/sec
classList 523.7 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;