Konsole currently uses a QTimer for each tab to monitor directory changes. It could use a single QTimer for all open tabs to reduce wake-ups. To reproduce: - open root Konsole - run powertop for this single tab for a while - open 10 additional tabs - watch powertop on first tab for a while Actual results: - for a single tab, Konsole wakes up 0.5 times per second - for 11 tabs, Konsole wakes up 5.5 times per second Expected results: - for 11 tabs, Konsole wakes up 0.5 times per second
Yes, the SessionController::snapshot is called every .5 seconds per tab
Is this still valid? (if so how to detect the wakes-up per second? :)).
Comment #0 says I used "powertop" to measure wakeups.
I tested and I don't see a difference; I think it's probably due to the fact that I am using a PC, I don't have access to a laptop. Sorry for the noise.