-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Rendering performance regression since version 24.3.0 #984
Comments
Extracted the AppImages and ran
For version 24.3.0 (first known bad):
For version 24.2.1 (last known good):
Notes:
|
I confirm the problem. I have some freezing on my machine but not critical. My configuration is Arch(Manjaro)+Wayland+IntelUHD This is surely not related to Qt6 migration. It seems it has appeared after #723 where plotting engine was redesigned. @wawuwo Could you have a look? The large datasets always had problems in Qucs. The advise will be to avoid such datasets by setting TRAN duration and step. The |
We are working on the solution. The fix is expected in v25.1.0 |
Hi guys! First of all, I am so sorry for the late reply. Please don't go hard on me. I believe poor rendering performance of graphs has little to do with #723, but it's mostly due to bad design and inefficient algorithms. For example, all datapoints are being traversed every time a graph is drawn even if only a portion of it is visible at the moment. Another problem is that every datapoint is still rendered even when scale is so small that multiple datapoints are mapped to a single pixel. I've made a quick patch addressing the latter problem (please take a look at PR #1042), I believe it can help until the proper solution emerges. I tried it on my machine with the sample circuit from the above and the app performed evidently better than without the patch, so I ask you to try it out too :) Hope it will help you. |
Fixed by #1042 |
Thanks to the recent hotkey fix, I eventually updated Quc-S and noticed that scrolling the circuit area suffers from a very noticeable performance drop.
This issue appears to be caused by more inefficient rendering of many data points. In my case, when working with the sample circuit [1], any interaction inside the circuit area is now delayed by about 200 - 300 ms (during which an entire CPU core is 100% busy). There used to be no such delay in older versions.
Reproduced on:
Last known good: 24.2.1
First known bad: 24.3.0
Reproduction steps:
I hope you can reproduce this as well. Otherwise I'll try to profile the provided binaries somehow.
[1] sample-circuit.tar.gz
The text was updated successfully, but these errors were encountered: