[mythtv-users] Delays Watch-Recordings-Screen
stichnot at gmail.com
Fri Mar 30 20:24:58 UTC 2012
On Fri, Mar 30, 2012 at 7:50 AM, Stefan Brackertz <t.brackertz at gmx.net> wrote:
> as mentioned here before (see
> http://www.gossamer-threads.com/lists/mythtv/users/508788) there are issues
> with 0.25 taking much time to show the Wath-Recordings-Screen or to change
> the group filter:
> 1. As all possible strings are created in the beginning start up takes a lot
> of time on slow machines. A path for lazy string creation is being
> developed, see http://code.mythtv.org/trac/ticket/10161
> 2. On some machines (even on fast ones) the creation of each strings takes
> very much time.
> Regarding the second issue there are some observations that changing the
> displayed Date-Time-Format could help.
> There are also some ideas that slow implementations of QDateTime are to
> On my system (Core i3, Xubuntu 11.10) I found the following behaviour:
> - Showing the Wath-Recordings-Screen or changing the group filter is
> extremly slow directly after starting mythfrontend (second issue)
> - Then I go to "Konfiguration->Erscheinungsbild" (probably
> configuration->appearence on englisch systems). Then save. It doesn't matter
> if anything is changed or not.
> - Then the theme gets reloaded (screen is flickering for less than a second
> and cursor jumps)
> - Now the Watch-Recordings-Screen is fast and stays fast until the frontend
> is quit.
> - If I restart the frontend it is slow again.
> So the timeformat doesn't seem to matter at all. But the reload of the theme
> seems to do some initialization which speeds up the string creation.
> Therefore it seems to be a mythtv-Bug.
> Can anybody verify this behaviour?
> I'd like to file a bug report.
This sounds like there might be something wrong with the internal
Settings cache. It would be helpful if you could open a new ticket
(feel free to reopen #10506 if you like), and attach a complete log of
the frontend running with "-v database --loglevel general,debug". In
the mythfrontend session, do the following: enter Watch Recordings;
set the group filter to a different recording group; go through the
Appearance setup pages; enter Watch Recordings again; and finally, set
the group filter to a different recording group.
If thousands of lookups of ChannelFormat, LongChannelFormat,
TimeFormat, DateFormat, and/or ShortDateFormat show up in the logs,
then it's an indication of such a problem.
More information about the mythtv-users