CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2002
    Posts
    44

    improving the performance

    my application loads up real slow, especially on slow computers. I was wondering what are the factors (from coding aspects) that will slow down the performance of the application, ie using too many try and catch blocks slows down the performance, or using delegates slows it down..etc..

    or do all .Net applications really starts up slow?

  2. #2
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    265
    Using the ngen.exe tool might improve startup times somewhat. Also check out my reply in a thread called "Program starts very slow on NT4".

  3. #3
    Join Date
    Mar 2002
    Posts
    44
    so the performance is not due to the any factors from the coding aspect?

    and btw, where do i get the ngen.exe tool? i have not heard of it

  4. #4
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    265
    ngen.exe is part of the SDK. On my box its I:\WINNT\Microsoft.NET\Framework\v1.0.3705\ngen.exe. Check the documentation for more information on usage.
    I also suggest you use a profiler to determine if there are any bottlenecks in your code. Compuware has a free one that plugs into VS.NET: http://www.compuware.com/products/devpartner/profiler/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured