Run details:
Mozilla/5.0 (Linux; Android 7.0; P027 Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Safari/537.36
Chrome 63
Android 7.0
P027
2025 years ago
Test name Executions per second
className 759.5 Ops/sec
setAttribute 653.2 Ops/sec
classList 520.3 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;