Skip to content

Conversation

tmat
Copy link
Member

@tmat tmat commented Oct 13, 2025

Description

Remove logging of solution content in Release builds. This logging used to be valuable for diagnostics in past, but we haven't seen issues that need this information in a while.
The logging slows down project loading.

Customer Impact

Significantly improves dotnet-watch initialization, especially on large solutions.
On a solution with 4,500 files the project load time is reduced by 75s (46%): from 164s to 89s.

Regression?

  • Yes
  • No

Regression compared to 8.0. The logging was added in 9.0.

Risk

  • High
  • Medium
  • Low

Justification: The impact is limited to sending Hot Reload messages to browser and the change is trivial.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

@tmat tmat closed this Oct 13, 2025
@tmat tmat reopened this Oct 13, 2025
@tmat tmat changed the title Remove excess logging that slows down Hot Reload [dotnet-watch] Remove excess logging that slows down Hot Reload Oct 13, 2025
@tmat tmat enabled auto-merge (squash) October 14, 2025 02:30
@tmat tmat merged commit d031a8f into dotnet:release/10.0.1xx Oct 14, 2025
27 checks passed
@tmat tmat deleted the ExcessLogging branch October 14, 2025 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants