[mythtv-commits] Ticket #10161: Speed up loading of Watch Recordings screen

MythTV noreply at mythtv.org
Sat Nov 19 00:39:29 UTC 2011


#10161: Speed up loading of Watch Recordings screen
------------------------------------------------+--------------------------
 Reporter:  Jim Stichnoth <stichnot@…>          |          Owner:
     Type:  Patch - Feature                     |         Status:  new
 Priority:  minor                               |      Milestone:  unknown
Component:  MythTV - General                    |        Version:  Trunk
 Severity:  medium                              |  Head
 Keywords:                                      |     Resolution:
                                                |  Ticket locked:  0
------------------------------------------------+--------------------------

Comment (by Jim Stichnoth <stichnot@…>):

 The v4 patch simplifies the implementation and brings the updateRecList()
 time down to about 15 ms (ION frontend, 2000 recordings).  Total wall-
 clock time for loading the Watch Recordings screen is about 3.5 seconds,
 and "Change Group Filter" is virtually instantaneous.

 This is accomplished by breaking the updateRecList() loop body into a pair
 of individual functions and registering them with the MythUIButtonListItem
 object as callbacks to be executed when the m_strings and m_states members
 are first accessed.

 The callback interface could probably be improved, particularly so that
 ProgramInfo and PlaybackBox pointer types aren't explicitly mentioned in
 MythUI files.  I can continue on that track if there is any real interest
 in this patch.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10161#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list