Opened 14 years ago
Closed 3 years ago
RecordingProfile speedups / refactor
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.
Change History (10)
Changed 14 years ago by anonymous
Owner: |
changed from danielk to stuartm
|
Status: |
new →
accepted
|
Reporter: |
changed from anonymous to stuartm
|
Changed 14 years ago by Stuart Auchterlonie
Keywords: |
speedup memory leak added
|
Summary: |
RecordingProfile speedups →
RecordingProfile speedups / refactor
|
Type: |
patch →
Developer Task
|
Milestone: |
unknown →
needs_triage
|
Resolution: |
→ Trac EOL
|
Status: |
accepted →
closed
|
Valgrind logs and backend log from 2 day long run showing memory leaks in RecordingProfile?