Forum Navigation
Debug library makes app really sluggish
Posted: 05/02/09 21:08:33I'm having some trouble when linking with the Tango debug lib (tango-base-dmd-d.lib on Windows). My DWT app runs incredibly slow. GUI redrawing is very slow, loading an XML file with the Tango SAXParser seems to take hundreds of times longer than normal, etc.
Originally I thought this was related to issue #1574. But I just tried with r4570, and the assert exception is gone, but the sluggishness is still there. So I guess it was something else all along.
I've profiled just the XML loading part of my app separately, and it seems that UnicodeData?'s static ctor takes about a second to finish. That's the only slowdown I could find, but there's another second that's not accounted for. But when checking the full app, I can't find any reference to UnicodeData? in the executable, nor in the profiler output. But maybe this issue can point to a general problem with Tango's debug build.
Just profiling my app isn't easy, since it's multithreaded.
Anyone else having the same issues?