|
-
September 20th, 2002, 09:16 AM
#1
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?
-
September 20th, 2002, 11:51 AM
#2
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".
-
September 22nd, 2002, 10:52 AM
#3
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
-
September 23rd, 2002, 05:36 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|