[mythtv-commits] Ticket #5022: upcoming recordings page unusably slow

MythTV mythtv at cvs.mythtv.org
Sun Mar 23 17:46:00 UTC 2008


#5022: upcoming recordings page unusably slow
----------------------------------------------------+-----------------------
 Reporter:  Tony Lill <ajlill at ajlc.waterloo.on.ca>  |       Owner:  xris      
     Type:  defect                                  |      Status:  new       
 Priority:  minor                                   |   Milestone:  unknown   
Component:  mythweb                                 |     Version:  0.21-fixes
 Severity:  medium                                  |     Mlocked:  0         
----------------------------------------------------+-----------------------
 If you turn on more than the default of Scheduled and Conflict, on this
 screen, then it can take 10s of minutes, or even hours to complete. During
 this time the browser consumes 100% of the CPU, and is otherwise rendered
 practically useless. It can also pop up a continuous stream of script
 timeout messages.

 After a considerable amount of experimenting, I've concluded that the root
 cause is that mythweb gernerates the following bit of javascript for each
 program listed. Keep in mind that turning on just Deactivated brings the
 program count to nearly 1000, everything brings the count to 3500.

 <script type="text/javascript">new Tip($("program_26"), "<dl
 class='details_list'> ... /dl>", { className: "popup" });</script>

 This page should either be updated to use the ajax method from the program
 listing page, or reverted to the method used in 0.20, which is several
 hundred times faster.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5022>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list