Speed up QT execution
-
Having some calculations made by OpenCV into QT IDE...
Is there any possibility to increase expectation time?
Maybe there are some commands or smth? -
Make sure you are using a Release build, not a Debug build. Most of the computation time is probably (hopefully) done within your OpenCV functions but it would be useful to add some timing output to confirm this. If that's the case, you will get more relevant help in an OpenCV forum. If you think the slow parts of your code are Qt-related, give some details as to what exactly your code is doing.
-
Right, when I make any change and save - it builds for one minute, then If I just execute it without any change it works instantly.
Then, If I make any change again, builds a lot
Maybe there is a way to avoid this long building? -
Right, when I make any change and save - it builds for one minute, then If I just execute it without any change it works instantly.
Then, If I make any change again, builds a lot
Maybe there is a way to avoid this long building?@kapabahwuk said in Speed up QT execution:
Then, If I make any change again, builds a lot
What do you change (which files) and what is rebuild then?
How fast is your machine (CPU/RAM)? -
Right, when I make any change and save - it builds for one minute, then If I just execute it without any change it works instantly.
Then, If I make any change again, builds a lot
Maybe there is a way to avoid this long building?@kapabahwuk
depending on your compiler, either pump up the spinbox for parallel jobs:
or add the argument directly to the make call:
make sure not to exceed the number of your actual CPU cores (virtual, not "real" cores)