Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Troubles with getting NYTProf to work properly in a CGI program

by Anonymous Monk
on Feb 22, 2013 at 00:24 UTC ( #1020026=note: print w/replies, xml ) Need Help??


in reply to Troubles with getting NYTProf to work properly in a CGI program

Try altering the shebang
  • Comment on Re: Troubles with getting NYTProf to work properly in a CGI program

Replies are listed 'Best First'.
Re^2: Troubles with getting NYTProf to work properly in a CGI program
by ted.byers (Monk) on Feb 22, 2013 at 02:46 UTC

    Thanks. That works fine with a script executed from a commandline, or within an environment like Emacs. However, even there, no variation I have tried lets me use "slowops=0". The documentation for Devel::NYTProf says to use slowops if some of the functions have negative timings, but I can not tell from the documentation where such an assignment is supposed to be set. From the behaviour I see, that seems to be a way to use NYTProf within a CGI script as an alternative to setting the configuration parameters I'd used in httpd.conf.

    Thus, the problem remains as to how to use slowops, and some of the other items I see in the documentation for NYTProf.

    Thanks

    Ted

        That's what I'd missed.

        It ignores the path for the output file I'd specified, but that's OK, as I found it anyway.

        Thanks

        Ted

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020026]
help
Chatterbox?
[erix]: that should be "to an already-too-late- project" I think
[ambrus]: oh yes, we have a pretty good example of that when they reorganized the grill place in the restaurant nearby.
[ambrus]: it now has two more people working there, and they're serving slower and more expensive.
[ambrus]: It used to be just a master cook who takes the order and puts the meat and eggs on the open grill plate table, and an assistant who removes them to a plate, adds the side dish, and gives the plate to the people in the queue, plus a cashier.
[ambrus]: Now it has five people instead of three, some sort of call number ticket system where people wait a lot for their food to get ready (it's the same kinds of grilled meat and fish on the same equipment, it won't actually fry slower),
[ambrus]: it's slow as hell, and the food costs significantly more.
[ambrus]: We no longer eat there.
LanX Everybody quotes it, some people read it, and a few people go by it
[ambrus]: LanX: why would I read it? isn't it a book for managers? I don't want to be a manager.
[ambrus]: I don't quote it either.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2017-09-22 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (264 votes). Check out past polls.

    Notices?