[mythtv-commits] Ticket #9517: Possible scheduler performance enhancement
MythTV
noreply at mythtv.org
Thu Jan 27 21:56:14 UTC 2011
#9517: Possible scheduler performance enhancement
-------------------------------------------------+-------------------------
Reporter: Doug Haber <doug@…> | Owner: gigem
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version: Trunk Head
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------------------+-------------------------
I noticed that one of the queries in the scheduler was taking ~15 seconds
for me and when I removed p.description it dropped down to ~1 second. I
don't think that this particular description is actually used anywhere so
changing it to "" increased my performance with no scheduling side effects
(yet - I've only tested this for a few hours). Since all of my
descriptions are < 255 another fix might be left(p.description, 255) or
something similar.
See attached patch.
Thanks!
D
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9517>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list