Run details:
Mozilla/5.0 (Linux; Android 6.0; HTC One_M8 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Mobile Safari/537.36
Chrome Mobile 56
Android 6.0
HTC One
7 years ago
Test name Executions per second
className 190.1 Ops/sec
setAttribute 119.2 Ops/sec
classList 369.3 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;