-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Investigate improving trimability of System.Diagnostics.Process #126332
Copy link
Copy link
Closed
Labels
area-System.Diagnostics.Processsize-reductionIssues impacting final app size primary for size sensitive workloadsIssues impacting final app size primary for size sensitive workloads
Description
@jkotas @adamsitnik I wonder if you have some insights why
Processends up being difficult to trim?
It always drags in a lot of performance counter related functionality and the dependencies are not straightforward to break without observable behavior changes. (It may be possible to improve this, it is just not straightforward.)
For example, here is a dependency chain from https://github.com/MichalStrehovsky/sizoscope for a simple app that just does Process.Start("notepad.exe").WaitForExit()
Originally posted by @jkotas in #126192 (comment)
Reactions are currently unavailable
Metadata
Metadata
Labels
area-System.Diagnostics.Processsize-reductionIssues impacting final app size primary for size sensitive workloadsIssues impacting final app size primary for size sensitive workloads