Run details:
Mozilla/5.0 (Linux; Android 8.1.0; SNE-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.111 Mobile Safari/537.36
Chrome Mobile 76
Android 8.1.0
Mobile
5 years ago
Test name Executions per second
className 393.3 Ops/sec
setAttribute 267.7 Ops/sec
classList 279.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;