Application is faster when profiling

148 views Asked by At

I have an OpenGL Qt application which is behaving strangely when being analyzed by Very sleepy. When I execute it without Very Sleepy activated, I have 15 fps for my scene rendering. When I activate profiling of that application on Very Sleepy, my fps increases a lot (I get 96 fps during the whole analysis phase), and when I stop the analysis, the fps switches back to 15 fps. I also notice that the GUI responds faster during the analysis.

I have also noticed that during the analysis, my application uses less CPU (20% instead of 50%)

This is very puzzling. As you can guess, I'd like to have that kind of performance without very sleepy! What could happen during the analysis phase that could "speed up" the program? The application was built in release mode, and is ran as a standalone in both cases. I've been searching for hours on the Internet, to no avail.

0

There are 0 answers