Run details:
Mozilla/5.0 (Android 11; Mobile; rv:96.0) Gecko/96.0 Firefox/96.0
Firefox Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
classList.add 2192648.0 Ops/sec
setAttribute 1540.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • classList.add

  • setAttribute