Run details:
Mozilla/5.0 (Linux; Android 9; SM-G960F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.62 Mobile Safari/537.36
Chrome Mobile 78
Android
Mobile
5 years ago
Test name Executions per second
className 1745.3 Ops/sec
setAttribute 1085.1 Ops/sec
classList 1241.4 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;