plainblack.com
Username Password
search
Bookmark and Share

    

NYTProf in modperl

User patspam
Date 6/17/2009 1:25 am
Views 513
Rating 0    Rate [
|
]
Previous · Next
User Message
patspam
Has anyone had any joy getting valid data out of NYTProf through the WRE's modperl? If so, can you share your recipe?

It's supposed to be easy, and I believe Tim Bunce when he says it works for modperl, but when I followed his instructions I didn't get any useful data out, certainly nothing like what I see when I run it on WebGUI code outside of modperl.

Patrick


Back to Top
Rate [
|
]
 
 
martink
You might wanna check this presentation:
http://www.madmongers.org/talks/troubleshooting-apache-and-mod_perl.

I believe the NYTProf stuff is more or less at the end.

Martin


webguidev@plainblack.com wrote:
> patspam wrote:
>
> Has anyone had any joy getting valid data out of NYTProf through the
> WRE's modperl? If so, can you share your recipe?
>
> It's supposed to be easy, and I believe Tim Bunce when he says
>  
> it works for modperl, but when I followed his instructions I didn't
> get any useful data out, certainly nothing like what I see when I run
> it on WebGUI code outside of modperl.
>
> Patrick
>
>
> http://www.plainblack.com/webgui/dev/discuss/nytprof-in-modperl
> ------------------------------------------------------------------------
>
>
>
>  



Back to Top
Rate [
|
]
 
 
Graham
I also had problems when I initially tried to use NYTProf.  It mainly had to do with the load order of the perl modules. I'm fairly certain I solved the issue by changing the PerlConfig lines to use PerlPostConfigRequire instead.  This delays loading the perl modules until after NYTProf, allowing it to initialize properly.
On Jun 17, 2009, at 1:25 AM, <webguidev@plainblack.com> <webguidev@plainblack.com> wrote:
patspam wrote:

Has anyone had any joy getting valid data out of NYTProf through the WRE's modperl? If so, can you share your recipe?

It's supposed to be easy, and I believe Tim Bunce when he says it works for modperl, but when I followed his instructions I didn't get any useful data out, certainly nothing like what I see when I run it on WebGUI code outside of modperl.

Patrick


http://www.plainblack.com/webgui/dev/discuss/nytprof-in-modperl

--

Plain Black&#44; makers of WebGUI
http://plainblack.com



Back to Top
Rate [
|
]
 
 
    



© 2010 Plain Black Corporation | All Rights Reserved