Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SM-G532MT) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.99 Mobile Safari/537.36
Chrome Mobile 80
Android 6.0.1
Mobile
3 years ago
Test name Executions per second
className 423.6 Ops/sec
setAttribute 274.5 Ops/sec
classList 306.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;