Is there any performance difference between Debug and Release?
Posted
by Lazlo
on Stack Overflow
See other posts from Stack Overflow
or by Lazlo
Published on 2010-04-06T02:48:55Z
Indexed on
2010/04/06
2:53 UTC
Read the original article
Hit count: 394
I'm using MySql Connector .NET to load an account and transfer it to the client. This operation is rather intensive, considering the child elements of the account to load.
In Debug mode, it takes, at most, 1 second to load the account. The average would be 500ms. In Release mode, it takes from 1 to 4 seconds to load the account. The average would be 1500ms.
Since there is no #if DEBUG
directive or the like in my code, I'm wondering where the difference is coming from.
Is there a project build option I could change? Or does it have to do with MySql Connector .NET that would have different behaviors depending on the build mode?
© Stack Overflow or respective owner