Opened 14 years ago

Closed 13 years ago

#3067 closed task (fixed)

MythUI Image Cache task

Reported by: stuartm Owned by: greg
Priority: blocker Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords:
Cc: stuartm Ticket locked: no


I've traced a problem with mythmusic and mythvideo menus taking between 6-14 seconds to appear (on my laptop) to the construction of the MythThemedMenu? object.

I'm busy with mythmusic at the moment, so I'm inviting someone else to take a look at this. If it's still not fixed by the time I'm done with mythmusic I'll take a stab at fixing it myself.

Change History (8)

comment:1 Changed 14 years ago by stuartm

Cc: stuartm added

comment:2 Changed 14 years ago by stuartm

Milestone: unknown0.21
Owner: changed from Isaac Richards to stuartm

comment:3 Changed 14 years ago by stuartm

Owner: changed from stuartm to greg

comment:4 Changed 14 years ago by stuartm

The bulk of this delay is due to the loading of images for watermarks and button icons. On heavier themes this takes much longer.

When we enter the menu for a plugin we create a new MythThemedMenu? and these images are loaded into memory again for a second time, adding to the overall memory footprint and slowing down the transition to the new screen.

I'm passing this to Greg as his planned global image cache will solve this issue completely.

comment:5 Changed 13 years ago by greg

Milestone: 0.210.22

comment:6 Changed 13 years ago by stuartm

Summary: Taking 6-14 seconds to create a new MythThemedMenuMythUI Image Cache task
Type: defecttask
Version: 0.20head

comment:7 Changed 13 years ago by stuartm

Priority: minorblocker

comment:8 Changed 13 years ago by greg

Resolution: fixed
Status: newclosed

A New caching method was commited in rev [18552] which makes this much faster now. Closing this one

Note: See TracTickets for help on using tickets.