[mythtv-commits] Ticket #8778: RecordingProfile speedups

MythTV mythtv at cvs.mythtv.org
Fri Aug 13 14:29:29 UTC 2010


#8778: RecordingProfile speedups
------------------------------------+---------------------------------------
     Reporter:  anonymous           |       Owner:  danielk   
         Type:  patch               |      Status:  new       
     Priority:  minor               |   Milestone:  unknown   
    Component:  MythTV - Recording  |     Version:  Trunk Head
     Severity:  medium              |    Keywords:            
Ticket locked:  0                   |  
------------------------------------+---------------------------------------
 Obtaining the profile via RecordingProfile in TVRec is pretty slow when it
 doesn't need to be and this impacts channel change times. Populating the
 'SelectSetting' and it's backing ComboBox alone can take 100ms and this is
 done twice, once for the signal monitor and once for the actual program.

 Attached is an initial suggested change which eliminates a redundant query
 on the database when loadByType() and loadByGroup() are used (untested
 atm).

 Further improvements can be made by not building the settings object (and
 therefore the widget) just to return the profile from the database.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8778>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list