Click to See Complete Forum and Search --> : improving the performance
luvcloud
September 20th, 2002, 09:16 AM
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?
Arild Fines
September 20th, 2002, 11:51 AM
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".
luvcloud
September 22nd, 2002, 10:52 AM
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
Arild Fines
September 23rd, 2002, 05:36 AM
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/
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.