Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36
Chrome Mobile 130
Android
Mobile
one month ago
Test name Executions per second
setAttribute(...) 38816.5 Ops/sec
classList.add(...) 24661.2 Ops/sec
classList.value 64911.8 Ops/sec
ClassName 117603.8 Ops/sec
HTML Preparation code:
Tests:
  • setAttribute(...)

  • classList.add(...)

  • classList.value

  • ClassName