I'm using ympd with mopidy, which is quite slower than mpd. It looks like ympd polls the server once every 200 ms, which makes mopidy use quite a bit of CPU on my machine.
Perhaps using the idle command would improve both the efficiency and reduce the latency for UI updates?
EDIT ah, I guess this is done to synchronize the mongoose and mpd event loops.
On a related note: the UI in the browser is updated everytime as well, even if there were no changes.
I found this to have a big impact on battery life on mobile devices.
I'm using ympd with mopidy, which is quite slower than mpd. It looks like ympd polls the server once every 200 ms, which makes mopidy use quite a bit of CPU on my machine.
Perhaps using the idle command would improve both the efficiency and reduce the latency for UI updates?
EDIT ah, I guess this is done to synchronize the mongoose and mpd event loops.