Re: Performance hit with Debug = True
- From: "Kismet" <kismet@xxxxxxxxxxxxxxxx>
- Date: Wed, 6 Jul 2005 09:31:44 -0600
If you are looking to enhance performance, try running the profiler and see
where all of your time is being spent.
Also look at the performance section in the MSDN Library
One thing to watch for is doing a lot of boxing/unboxing.
Your best bet might be to upgrade to .Net 2005 and use collections instead
of things like arraylist etc.
Kismet
"Wade" <wwegner23NOEMAILhotmail.com> wrote in message
news:u8Y3U9igFHA.2896@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Bob,
>
> Thanks for the comments. Yes, this has actually come up because our
> clients have been complaining about the performance of our applications,
> and I've been trying to compile (no pun intended) a list of possible
> performance enhancements we can make.
>
> Wade
>
> "Bob Grommes" <bob@xxxxxxxxxxxxxx> wrote in message
> news:OycRjvegFHA.3124@xxxxxxxxxxxxxxxxxxxxxxx
>> Wade,
>>
>> I seldom do release builds for the reasons your "pro-debug" group cite,
>> plus all of my code is released internally to my customers (not released
>> into the wider world where there might be concerns about reverse
>> engineering, which of course is much easier with a debug release) and
>> because my debug builds run plenty fast enough.
>>
>> Does the app run fast enough to satisfy you and its users? Then don't
>> worry about the debug overhead unless there is some lengthy processing
>> which runs appreciably faster in release mode such that it significantly
>> impacts user productivity and bottom line. (Sometimes users may be
>> content, but faster processing still translates into saved dollars,
>> whether users recognize this or not).
>>
>> I am speaking here mainly of console and winforms apps (and to a lesser
>> extent, windows services). I have only completed ASP.NET apps with small
>> numbers of users and haven't looked into whether debug builds would hurt
>> scalability. Quite possibly, this would be a bigger factor in ASP.NET
>> applications, particularly public sites with large numbers of users.
>> Same would go for web services.
>>
>> --Bob
>>
>> "Wade" <wwegner23NOEMAILhotmail.com> wrote in message
>> news:etg24vagFHA.2700@xxxxxxxxxxxxxxxxxxxxxxx
>>> Hi all,
>>>
>>> (Sorry for the cross-post -- just noticed this group.)
>>>
>>> We have a debate going on here in the office. There's one group that
>>> would
>>> prefer to have our LIVE environment with debugging turned on, because
>>> it's
>>> convenient when there's an error, and another (myself included) that
>>> would
>>> prefer not to have debugging turned on. So, I ask you all: is there
>>> really
>>> a significant overhead in having this turned on?
>>>
>>> And by turned on, I mean that all PDB files are copied out into the \bin
>>> folder, and the compilation tag (in the web.config) has the debug
>>> property
>>> set to true.
>>>
>>> Thanks for your help and opinions!
>>>
>>> Wade
>>
>>
>
>
.
- Follow-Ups:
- Re: Performance hit with Debug = True
- From: Bob Grommes
- Re: Performance hit with Debug = True
- References:
- Performance hit with Debug = True
- From: Wade
- Re: Performance hit with Debug = True
- From: Bob Grommes
- Re: Performance hit with Debug = True
- From: Wade
- Performance hit with Debug = True
- Prev by Date: Re: Performance hit with Debug = True
- Next by Date: Re: Performance reading/writing large text files with Streams in V
- Previous by thread: Re: Performance hit with Debug = True
- Next by thread: Re: Performance hit with Debug = True
- Index(es):
Relevant Pages
|
Loading