Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G950F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36
Safari537.36
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
className 1802.3 Ops/sec
setAttribute 1379.7 Ops/sec
classList 958.1 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;