
mythtv at cvs
Aug 13, 2010, 7:29 AM
Post #1 of 3
(95 views)
Permalink
|
|
Ticket #8778: RecordingProfile speedups
|
|
#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 _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
|