Re: [sqlite] VIsual Studio 2005. slow and high CPU in debug

2012-03-20 Thread Juan Perez
Hello Larry and Ted: I'm working on what you have told me. Thank you very much. A greeting. El 19 de marzo de 2012 16:10, Teg t...@djii.com escribió: Hello Juan, Debug mode is unusable for production code. Even it you add optimization, MS builds in a debug memory

[sqlite] VIsual Studio 2005. slow and high CPU in debug

2012-03-19 Thread Juan Perez
Hi all: I´m using SQLite amalgamation in various exe files with Visual Studio 2005. In debug mode the exe files are very slow and have high CPU usage. In release the problem dissapears. Is there some option in SQLite to avoid this problem? Thank you very much in advance.

Re: [sqlite] VIsual Studio 2005. slow and high CPU in debug

2012-03-19 Thread Larry Brasfield
Juan Perez wrote: Hi all: I'm using SQLite amalgamation in various exe files with Visual Studio 2005. In debug mode the exe files are very slow and have high CPU usage. In release the problem dissapears. Is there some option in SQLite to avoid this problem? You can change

Re: [sqlite] VIsual Studio 2005. slow and high CPU in debug

2012-03-19 Thread Teg
Hello Juan, Debug mode is unusable for production code. Even it you add optimization, MS builds in a debug memory allocator/deallocator that's at least 10 times slower than the regular memory allocator. Running my application under debug, the memory allocations completely dominate