Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G930F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.105 Mobile Safari/537.36
Chrome Mobile 72
Android 8.0.0
Mobile
5 years ago
Test name Executions per second
className 1399.0 Ops/sec
setAttribute 838.9 Ops/sec
classList 773.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;