Opened 12 years ago
Closed 11 years ago
#6461 closed defect (fixed)
MythUI Program Guide unresponsive
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
Hi,
I've just tested the new MythUI guide grid, and found it really unresponsive.
When first loading the program guide, it fetches the channel icons for each channel that is displayed within the guide - which takes around 5 seconds:
2009-04-16 13:23:50.677 Loading window theme from /usr/local/share/mythtv/themes/default-wide/schedule-ui.xml 2009-04-16 13:23:51.535 RemoteFile(myth://192.168.254.1:6543//root/.mythtv//channels/bbc1.jpg) 2009-04-16 13:23:52.340 RemoteFile(myth://192.168.254.1:6543//root/.mythtv//channels/bbc2.jpg) 2009-04-16 13:23:53.145 RemoteFile(myth://192.168.254.1:6543//root/.mythtv//channels/itv1.jpg) 2009-04-16 13:23:53.958 RemoteFile(myth://192.168.254.1:6543//root/.mythtv//channels/channel4.jpg) 2009-04-16 13:23:54.771 RemoteFile(myth://192.168.254.1:6543//root/.mythtv//channels/five.jpg) 2009-04-16 13:23:55.635 RemoteFile(myth://192.168.254.1:6543//root/.mythtv//channels/itv1.jpg)
The time-stamps on these logs provide a good illustration of how long I have to wait for the GUI to respond to each button press.
When scrolling up/down, each channel icon that is displayed on-screen is re-fetched, causing approx 4-5 second delay.
When going left/right, it tries to re-fetch the channel icon just for the currently selected channel, causing about a 1.5 second delay.
There is very little CPU time consumed while waiting for the GUI to respond.
I'm running separate front-end and backends - I dont know if the same performance issue occurs when on a combined front-end/back-end system.
I'm happy to debug/test further if required.
Change History (8)
comment:1 Changed 12 years ago by
Milestone: | unknown → 0.22 |
---|---|
Priority: | minor → blocker |
Severity: | medium → low |
comment:2 Changed 12 years ago by
Owner: | changed from Isaac Richards to stuartm |
---|---|
Status: | new → accepted |
comment:3 Changed 12 years ago by
Status: | accepted → started |
---|
comment:4 Changed 12 years ago by
comment:5 Changed 12 years ago by
Priority: | blocker → minor |
---|
comment:6 Changed 11 years ago by
Milestone: | 0.22 → unknown |
---|---|
Status: | started → assigned |
comment:7 Changed 11 years ago by
Status: | assigned → accepted |
---|
comment:8 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
(In [20446]) Add local caching of channel icons retrieved from remote backends. This has multiple benefits, chiefly future visits to the program guide will be faster but it also allows themers to apply complex effects to icons without impacting rendering speed.
Refs #6461 - I'd like to put remotefile in it's own thread to eliminate the delay caused during the remote fetching, so the ticket will remain open until then.