Opened 15 years ago
Closed 15 years ago
Last modified 15 years ago
#6093 closed task (fixed)
Speed up playback box
Reported by: | danielk | Owned by: | danielk |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I did some timings and found I could shave 20ms per recording of the PlaybackBox? loading time. I'm attaching a preliminary patch, some details still need to be worked out; like making sure we redraw after the preview generator finishes generating a preview for the currently selected recording. For me this shaves about 7 seconds off the time to enter "Watch Recordings", down to 50 ms.
Attachments (2)
Change History (4)
Changed 15 years ago by
Attachment: | playback-box-fast-v1.patch added |
---|
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
(In [19621]) Refs #6093. Fix a regression caused by [19618].
A couple MythUIButtonListItem methods were causing constant repaints. This breaks the loop. Stuart M may apply a better changeset later which only repaints the bits that need repainting, but this should at least keep CPU usage down a bit when sitting in Watch Recordings.
proof-of-concept patch