Tim Im profiling my old CGI over Plack this way, but cant see the Flame 
Graph.

#!perl


use CGI::Compile;
use CGI::Emulate::PSGI;


use lib 'pos';


my $sub = CGI::Compile->compile("./pos/main.cgi");
my $app = CGI::Emulate::PSGI->handler($sub);




use Plack::Builder;


#builder {
# enable 'Debug', panels =>['Profiler::NYTProf'];
# $app;
#};


builder {
 enable 'Debug', panels => [
 [
 'Profiler::NYTProf',
 base_URL => 'http://example.com/NYTProf',
 root     => './pos/profiler',
 minimal  => 1,
 ]
 ];
 $app;
};



-- 
-- 
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
--- 
You received this message because you are subscribed to the Google Groups 
"Devel::NYTProf Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to