According to Rhesa Rozendaal <[email protected]> on Thu, 11/04/10 at 11:22: > > Yep, that's the one. Outside of mod_perl, you'd use regular > Devel::NYTProf. How you'd pass the -d flag to the perl invocation likely > depends on your web server. > > I'd like to point out that profiling CGI::Application apps is pretty > easy from the command line. Here's an example: > > HTTP_HOST=www.example.com HTTP_WHATEVER=whatever perl -d:NYTProf > your_instance_script.cgi some=cgi variables=here > > That should be all on one line, or wrap it in a script, or whatever. > > Yet another approach would be doing what ::Apache does: add calls to > DB::enable_profile() and DB::_finish() at the appropriate place in your > code.
Thanks! My server is Apache 2.2 without mod_perl BTW. Not sure what DB::enable_profile() and DB::_finish() are, but I'm not that far into this area of research yet. Thanks again. Regards, web... -- William Bulley Email: [email protected] 72 characters width template ----------------------------------------->| ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################
