Run details:
Mozilla/5.0 (Linux; Android 8.1.0; vivo 1807) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android 8.1.0
Mobile
2 years ago
Test name Executions per second
className 448.6 Ops/sec
setAttribute 318.5 Ops/sec
classList 333.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;