> Conversion to 2.0 (thro' vs2005) from 1.1, has made the app completely
> unusable because of the performance degradation. It's a c# winforms,
> multithreaded app, using datasets extensively.
I've worked with a number of applications that exactly match that
description, and never experienced the problem you're describing. I know
that's not of any help to you, but it does at least point the finger at your
application (which is fixable) and not the platform (which isn't).
The questions I have to ask:
- Which version of Visual Studio are you compiling with?
- Are you testing a Debug or a Release version? If it's release, do you have
"enable optimization" turned on?
- I'm assuming x86 on a Windows XP system. Are you running Vista? Is UAC
turned on?
- Are you by chance running a Debug/Checked build of the O/S?
--
Chris Mullins
schneider - 01 Oct 2007 23:32 GMT
I would also run FxCop against your code and look at security/performance
items, it may help you isolate the problems.
>> Conversion to 2.0 (thro' vs2005) from 1.1, has made the app completely
>> unusable because of the performance degradation. It's a c# winforms,
[quoted text clipped - 15 lines]
> --
> Chris Mullins
KVin - 02 Oct 2007 02:37 GMT
> I would also run FxCop against your code and look at security/performance
> items, it may help you isolate the problems.
[quoted text clipped - 18 lines]
> > --
> > Chris Mullins
1. App is compiled with vs2005.
2. I'm testing 'debug' version compiled by vs2005.
3. I'm running x86, windows XP.
4. What's debug/checked build of o/s?
Patrick van Dijk - 02 Oct 2007 09:44 GMT
Try using a Release build. There is a significant performance
difference in the Release vs. Debug versions on .NET 2.0.
We have seen only performance improvements when moving from 1.1 to
2.0, but alwyas compared Release versions.
KVin - 02 Oct 2007 13:45 GMT
Hi Patrick,
I tried Release version too. Sure, there's improvement, but not even close
to what I had in 1.1. Both Debug/Release version are compiled with 'optimize
code' checked.
I am at a loss as to why an app which runs great in 1.1 has problem on
conversion to 2.0. Obviously, I am missing something.
schneider - 08 Oct 2007 03:10 GMT
I would also run FxCop against your code and look at security/performance
items, it may help you isolate the problems.
Again, this is an easy way to check for a lot of know issues...
> Hi Patrick,
>
[quoted text clipped - 5 lines]
> I am at a loss as to why an app which runs great in 1.1 has problem on
> conversion to 2.0. Obviously, I am missing something.