Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.1 Chrome/69.0.3497.128 Safari/537.36
Chrome 69
Linux
Desktop
5 years ago
Test name Executions per second
className 6076.5 Ops/sec
setAttribute 4480.8 Ops/sec
classList 3448.2 Ops/sec
HTML Preparation code:
Tests:
  • className

  • setAttribute

  • classList


;