Click to See Complete Forum and Search --> : .NET Apps Performance
jcurbina
July 24th, 2002, 07:28 AM
I know there is a performance penalty due to the common language runtime acting like a virtual machine on .net applications, but can somebody tell me if there is a way to optimize performance in any of these applications. I have noticed that even by removing debug information (Release Build) it does not make a difference. Any hints ?
Thanks
jparsons
July 24th, 2002, 11:13 AM
Originally posted by jcurbina
I know there is a performance penalty due to the common language runtime acting like a virtual machine on .net applications, but can somebody tell me if there is a way to optimize performance in any of these applications. I have noticed that even by removing debug information (Release Build) it does not make a difference. Any hints ?
Thanks
I assume you are using VS.NET? If so then make sure that you go into your build properties and manually turn off hte debug flag and trace flag. VS.NET forgets to do this for you.
Also simply turning off debugging won't always dramatically increase the preformance of your application. Depends on how your application is designed. For instance the amount of output that is generated from deubbing on a server I'm working on decreases about 70% when I take debugging off. Considering that during heavy loads with deubgging it generates about 10 Megs of output every 2-1/2 minutes there is significant performance increase.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.