stl extremely slow while debugging

  • Thread starter Thread starter itr_rrauch
  • Start date Start date
I

itr_rrauch

Guest
Hi everyone,

I have a problem with stl performance while debugging.

My application needs to parse external configuration files while application startup. The source modul for parsing this files is written by extensive usage of stl. specially functions like e.g. regex_match() slows down the program. On each startup I need to parse files with more than 100.000 lines of ASCII. When application is compiled for release, it needs about 5 seconds, what's ok. But in debug mode it needs more than 3 minutes!

Imagine, when I need to restart the application more than 100 times a day for debugging :(

The C++ source file for parsing the external files is almost finished, so there is no need to debug this. I changed compile settings for this file and optimize it (/O2) in release as well in debug mode.

Now the parsing needs 1:30 minutes...some progress, but still to much.

What further I could do to improve the performance of this source code while debugging?

Continue reading...
 
Back
Top