Run details:
Mozilla/5.0 (Linux; Android 12; SM-G9980) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
classList toggle 222.5 Ops/sec
classList add hide 212.5 Ops/sec
HTML Preparation code:
Tests:
  • classList toggle

  • classList add hide