[wp-trac] Re: [WordPress Trac] #8957: 100% CPU, unresponsive javascript when leaving admin "Edit Posts" and "Edit Post" pages

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 25 06:38:12 GMT 2009


#8957: 100% CPU, unresponsive javascript when leaving admin "Edit Posts" and "Edit
Post" pages
-------------------------------------------------------------------------------+
 Reporter:  _timk                                                              |        Owner:  azaozz
     Type:  defect (bug)                                                       |       Status:  new   
 Priority:  normal                                                             |    Milestone:  2.8   
Component:  JavaScript                                                         |      Version:  2.7   
 Severity:  major                                                              |   Resolution:        
 Keywords:  unresponsive script javascript cpu browser client categories slow  |  
-------------------------------------------------------------------------------+
Comment (by _timk):

 I've also tried John Resig's jQuery profiler (http://ejohn.org/blog/deep-
 profiling-jquery-apps/), but it doesn't record the massive delay.

 To me, that's further evidence that it's a page unload problem. The
 profiler resets anew when the page is reloaded; I'd need to somehow cancel
 the page unload after the delay, which I don't know how to do.  I tried
 hooking into things like the window unload and onbeforeunload events, but
 those trigger before the script becomes unresponsive.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8957#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list