Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G935F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.85 Mobile Safari/537.36
Chrome Mobile 68
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
className 1914.9 Ops/sec
setAttribute 1470.8 Ops/sec
classList 1101.6 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;