Closed
Description
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:
- Ubuntu 22.04, Polaris series GPU (amdgpu), X11
Last known good: 24.2.1
- On Linux AppImage: the main process is labelled "Qt Client Leader Window". No AppRun process seen.
- On Linux + Win64 (Wine 9.17): the main process is labelled "qucs-s 24.2.1"
First known bad: 24.3.0
- On Linux AppImage: the main process is labelled "AppRun.wrapped". No Qt process seen.
- On Linux + Win64 (Wine 9.17): the main process is labelled "qucs-s 24.3-881d2a4"
Reproduction steps:
- Open the sample [1]
- Scroll up and down in the circuit area (mouse wheel or scrollbar, or resize the window)
- Monitor the CPU usage
I hope you can reproduce this as well. Otherwise I'll try to profile the provided binaries somehow.