Run details:
Mozilla/5.0 (Linux; Android 8.0.0; ASUS_Z017D Build/OPR1.170623.026) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36
Opera.170623.026) applewebkit/537.36 (khtml, like gecko) chrome/66
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
className 996.0 Ops/sec
setAttribute 828.2 Ops/sec
classList 660.7 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;