[mythtv-commits] Ticket #7855: Improve image loading performance
MythTV
mythtv at cvs.mythtv.org
Mon Jan 4 03:59:14 UTC 2010
#7855: Improve image loading performance
------------------------------------------------+---------------------------
Reporter: Jim Stichnoth <stichnot@…> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------------------+---------------------------
This patch gives a small performance boost in drawing screens, especially
the Watch Recordings screen, leading to slightly improved responsiveness.
The issue is that certain images may be loaded dozens if not hundreds of
times, and even if the image is already in the cache, a stat system call
is still performed to see if the original file has changed. These system
calls can add up, especially on network file systems.
The new code relaxes the check on the original file so that the check
isn't repeated if it was already done within the past 5 seconds.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7855>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list