Startup Optimization

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

Is there a way to see what time each code segment takes during app start-up?

Thanks

Regards
 
Hi John,

The quick answer is to grab Now.Ticks at different places. It works off
the 100ns clock, though it is not quite <that> accurate in practice.

Regards,
Fergus
 
The start-up logic is bit complex and I was hoping that there is a utility
that would give execution timings for each sub etc. May be to pinpoint
time-consuming code so it can be optimised.

Thanks

Regards
 
Hi John,

If you want it automated then you need to do profiling. Unfortunately,
having said that, you and I know as much as each other about it. But that's
the keyword to search on/ask about.

Regards,
Fergus
 
* "John said:
The start-up logic is bit complex and I was hoping that there is a utility
that would give execution timings for each sub etc. May be to pinpoint
time-consuming code so it can be optimised.

<http://www.cetus-links.org/oo_dotnet.html#oo_dotnet_utilities_tools>
-> "Utilities / Tools"

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Dilbert's words of wisdom #18: Never argue with an idiot. They drag you down
to their level then beat you with experience.
 
Back
Top