ClickOnce profiling * startup time *
I am trying to optimize the startup time of one of the internal tools in my company.
It is, however, deployed via ClickOnce and is used by IsolStorage.
I am using JetBrains dotTrace 3.1 to profile it, but then it will fail to launch the application due to the dependency on IsolStorage and ApplicationDeployment, which requires the application to run in the ClickOnce context.
I know that I can use manual StopWatch-ing to profane everything. But I thought I'd ask here first, since I'm not a regular profiler and I'm not a freak. If there is a tool or tips to save me time, I would love to know.
Is there a profiling tool that fully supports ClickOnce?
Or any suggestions for profiling ClickOnce startup times with JetBrains dotTrace?
source to share
I would create a specific version of your profiling application that can be run without ClickOnce. Hopefully it wouldn't be easy to remove isolated storage access and just return some dummy values.
I'm not sure if you could do this with ClickOnce even if you didn't have an isolated memory issue. I haven't used dotTrace, but I'm guessing it needs .pdb files to profile your code. I would be surprised if you were deploying .pdb files with your application.
source to share