Skip to content

Azure Resources Performance Issues #1349

@alexweininger

Description

@alexweininger

Azure Resources View Performance Issues

Overview

This is a central tracking issue to consolidate multiple reports of slow performance when loading and navigating Azure resources in VS Code. We are actively investigating and working to improve the user experience.

Reported Symptoms

Users have reported the following performance issues:

Resource Tree Loading

  • Progress indicator animates indefinitely or for several minutes
  • Loading resources takes 30 seconds to 5+ minutes, even with few subscriptions/resources
  • Resources sometimes disappear and reload unexpectedly
  • Sub-nodes (e.g., Cosmos DB, Storage) take 30+ seconds to expand

Multi-Account Performance

  • Significant delays (up to 15 minutes) when signed into 3+ accounts
  • Extension appears to "churn" through all subscriptions rather than loading incrementally
  • Session changed events during discovery may be restarting the discovery process

Specific Actions

  • "Show resource group" command: ~18 second delays
  • "Focus" view: 4+ minutes when user has access to many subscriptions
  • Switching groupings: 10-15 second hangs when already loading

Possible Contributing Factors

  • Authentication token refresh cycles causing continuous reloading
  • Subscription discovery triggering session changed events in a loop
  • No cancellation support for pending async operations
  • Loading all subscriptions instead of scoping to selected ones

Related Issues

#1339, #1305, #1265, #1254, #1134, #1085

How to Help

If you're experiencing performance issues:

  1. Share your extension version, VS Code version, and OS
  2. How many accounts/subscriptions do you have access to?
  3. Any relevant output from the Azure Resource Groups output channel
  4. Does signing out and back in temporarily improve performance?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions