Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Pixel 2 XL Build/OPM2.171026.006.H1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.70 Mobile Safari/537.36
Chrome Mobile 68
Android 8.1.0
Mobile
6 years ago
Test name Executions per second
className 2870.0 Ops/sec
setAttribute 2149.3 Ops/sec
classList 1494.7 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;