Opened 12 years ago

Closed 12 years ago

Last modified 12 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


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)

playback-box-fast-v1.patch (10.5 KB) - added by danielk 12 years ago.
proof-of-concept patch
6093-v2.patch (8.5 KB) - added by danielk 12 years ago.
Avoid UpdateProgramInfo? loop regression

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by danielk

Attachment: playback-box-fast-v1.patch added

proof-of-concept patch

comment:1 Changed 12 years ago by danielk

Resolution: fixed
Status: newclosed

(In [19618]) Fixes #6093. Speeds up loading of 'Watch Recordings' screen.

Changed 12 years ago by danielk

Attachment: 6093-v2.patch added

Avoid UpdateProgramInfo? loop regression

comment:2 Changed 12 years ago by danielk

(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.

Note: See TracTickets for help on using tickets.