debug builds are always slower then release builds for one reason, they
contain debugging code. You should never deploy a debug application either,
mainly because it requires a debugger to be installed on the end user system
for it to function properly.
Leon Zhao via .NET 247 said:
Have you tried using release build instead of debug build? I've had same
problem, I think debug mode really slows ado down.
Yep, it sure does, that's why they have different builds. If not, you could
just used named compiler directives to change the way code
worked....performance is definitely slower in debug!