Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#9539 closed Patch - Bug Fix (fixed)
Patchs to improve "Watch Recordings" screen performance
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | major | Milestone: | 0.24.1 |
Component: | MythTV - General | Version: | Master Head |
Severity: | high | Keywords: | |
Cc: | Ticket locked: | no |
Description
In the Watch Recordings screen, each time you select a new group updateGroupInfo() is called which makes a DB query to get the filesize for *each* recoding in the group. This hurts performance for groups with many recordings, and for past recordings this value will rarely change.
206-SkipQueryFilesize?.patch bypasses this query if possible.
207-Skip_updateGroupInfo.patch bypasses this entire function call if possible
Attachments (2)
Change History (7)
Changed 14 years ago by
Attachment: | 206-SkipQueryFilesize.patch added |
---|
Changed 14 years ago by
Attachment: | 207-Skip_updateGroupInfo.patch added |
---|
comment:1 Changed 14 years ago by
Owner: | set to stuartm |
---|---|
Status: | new → assigned |
Version: | Unspecified → Trunk Head |
comment:2 Changed 14 years ago by
Milestone: | unknown → 0.24.1 |
---|---|
Priority: | minor → major |
Severity: | medium → high |
Status: | assigned → accepted |
comment:3 Changed 14 years ago by
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Avoid updating the group info if the group hasn't changed. Closes #9539
Signed-off-by: Stuart Morgan <smorgan@…>
Branch: master Changeset: ce71c14e2f87606a52cee2197e040a12494a3003
comment:5 Changed 14 years ago by
Revert "Avoid updating the group info if the group hasn't changed. Closes #9539"
The patch failed to account for the times when we're switching focus from the recording list to the group list when we'd want to stop showing the recording info and show the group info instead.
This reverts commit ce71c14e2f87606a52cee2197e040a12494a3003.
Branch: master Changeset: d537de26ef2026a3d9bf2536ac1bc8cd605cdb03
Bypass filesize query on recording if possible. Refs #9539
Signed-off-by: Stuart Morgan <smorgan@…>