3 ms·
Performance
by fingerprinter 13y ago
Performance
- qznc 13y agoPerformance (I assume speed) for GUIs? When do you need that? Most people are fine with web apps and their internet latency speed. If you mean a scenario, where you click a button and the app freezes for a few seconds then this is an architecture problem. Whateven happens should happen asynchronously to the GUI. This can be right and wrong in Python and in C.
- ovis 13y agoI have a python GUI app. When I press a button, it probably takes a few tens of milliseconds to chew on it. I suspect it could be done faster with other tools, but I doubt I'd notice it. As for the actual work being done behind the GUI, that's a different matter.
- smnrchrds 13y agoI never noticed any performance problem with Python-based GUI programs. Well, calibre's start-up time is a little too long, but once it's running I don't notice any slowness. If you have a special program in mind, would you explain a bit about it?
- fingerprinter 13y agoI use Ubuntu, so I don't know if these are in Debian as well, but Jockey and Ubuntu Software Center come to mind. My main issue with them is the common symptom where both "hang" or "freeze" for a few seconds. Visually this can look like the window gets grayed out for a bit (common in Jockey) or it it is just stuck for a few seconds with no clear indication anything is happening (more common in Software Center). EDIT: I should note that I've previously written a few PyGTK apps and have recently started writing Ubuntu Touch apps via their Ubuntu SDK (Qt/QML). I've found that Qt/QML/Ubuntu SDK is a much better experience in both writing the app and the responsiveness of the resulting application. And I'm by no means proficient in QML, I'm just starting out.
- natrius 13y agoThis is probably psychosomatic. Python GUI libraries are usually a thin layer on top of C/C++ libraries like GTK and Qt, so the drawing and input handling is all happening quickly.