Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/130.0.6723.90 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 130
iOS 18.1
Mobile
one month ago
Test name Executions per second
className 9736651.0 Ops/sec
setAttribute 7780848.5 Ops/sec
classList 7382934.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList