Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 106.0.0.9.118 (iPhone10,6; iOS 12_4; en_GB; en-GB; scale=3.00; 1125x2436; 166752244)
Mobile Safari 12
iOS 12.4
Mobile
one month ago
Test name Executions per second
className 8396.5 Ops/sec
setAttribute 6765.4 Ops/sec
classList 5548.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • className

  • setAttribute

  • classList