in reply to Re^5: WWW::Mechanize::Firefox delayed returns / slow
in thread WWW::Mechanize::Firefox delayed returns / slow
Ah yes, that makes sense. When I commented out the $callback line nothing would happen in the browser :-) I didn't think Dumper was lying to me.
Does it still strike you as odd that the first $callback->() hit takes 30-35 secs everytime but 2nd+ calls are immediate?
Also, I just noticed that while the first call to callback is slow, the first call of the program to the _wait_while_busy while loop takes only 1 sec. It's always the 2nd+ calls that hang. Does that make any sense?
Also, why have you commented out the if ($need_response) in synchronize()? Since I never care about responses, I'm playing around with commenting out the $response_catcher= assignment to avoid all the voodoo in _install_response_header_listener. As you can see I'm shooting in the dark, but experimenting can't hurt anything.
The site I am working with is a semi-private intranet. To possibly get you access I'd have to jump through a lot of hoops.
If you can just throw me little crumbs of help I can do all the grunt work testing/debugging.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: WWW::Mechanize::Firefox delayed returns / slow
by Corion (Patriarch) on Dec 03, 2010 at 08:22 UTC | |
by tcordes (Novice) on Dec 03, 2010 at 09:51 UTC | |
by Corion (Patriarch) on Dec 03, 2010 at 14:36 UTC | |
by tcordes (Novice) on Dec 03, 2010 at 08:39 UTC | |
by Corion (Patriarch) on Dec 03, 2010 at 12:48 UTC |