-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview performance regression on Linux when built with cmake #2953
Comments
Please add at least some kind of code example to reproduce the issue. |
|
Thanks, I'll try to reproduce with the referenced commits. There were some changes trying to optimize performance using an external library. Maybe that caused regressions in other scenarios... |
I can't reproduce this (on Debian/Testing). The times are pretty much the same:
FWIW using flags |
I can only reproduce with cmake builds. qmake builds run at almost exactly the same speed as cmake build before the regression, and continue to run at the same speed after it. For the record I am not using any extra configuration flags with either build tool. |
Added a note to #2518 tracking open issues with the cmake build (which is not officially supported yet). |
This was all down to CONFIG+=debug as you predicted. Specifically qmake builds behaviour does not change before/after the regression. However,
When building with cmake with no config flags it never prints CGAL debugging. It runs fast before the regression, and slow after it. Note that printing CGAL and running slow is a combination that can't be reproduced by manipulating the debug flag in the qmake build. So it seems like something got changed around that affected exactly which debugging bits are turned on and off in the cmake build. |
Somewhere around February the performance on the preview window fell dramatically. With moderately complicated objects the framerate when rotating drops to about 0.5 fps. Prior to the regression it would be about 15 fps. Due to a large number of commits that fail to build, I was only able to narrow it down to 15 commits with bisect.
Library information from the last good version 27ce666 is attached. The library info for the first bad version c02dfb9 is identical.
libs-good.txt
The text was updated successfully, but these errors were encountered: