Run details:
Mozilla/5.0 (Linux; U; Android 10; Infinix X655C Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/84.0.4147.125 Mobile Safari/537.36 OPR/52.1.2254.54298
Opera Mobile 52
Android
Mobile
3 years ago
Test name Executions per second
className 747.3 Ops/sec
setAttribute 442.0 Ops/sec
classList 476.8 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;