← Index
NYTProf Performance Profile   « line view »
For script/ponapi
  Run on Wed Feb 10 15:51:26 2016
Reported on Thu Feb 11 09:43:11 2016

Filename/usr/local/share/perl/5.18.2/Plack/Handler/HTTP/Server/PSGI.pm
StatementsExecuted 11 statements in 146µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11118µs24.2msPlack::Handler::HTTP::Server::PSGI::::BEGIN@5Plack::Handler::HTTP::Server::PSGI::BEGIN@5
11111µs18µsPlack::Handler::HTTP::Server::PSGI::::_serverPlack::Handler::HTTP::Server::PSGI::_server
1119µs18µsPlack::Handler::HTTP::Server::PSGI::::BEGIN@2Plack::Handler::HTTP::Server::PSGI::BEGIN@2
1116µs6µsPlack::Handler::HTTP::Server::PSGI::::newPlack::Handler::HTTP::Server::PSGI::new
0000s0sPlack::Handler::HTTP::Server::PSGI::::runPlack::Handler::HTTP::Server::PSGI::run
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Plack::Handler::HTTP::Server::PSGI;
2225µs226µs
# spent 18µs (9+9) within Plack::Handler::HTTP::Server::PSGI::BEGIN@2 which was called: # once (9µs+9µs) by parent::import at line 2
use strict;
# spent 18µs making 1 call to Plack::Handler::HTTP::Server::PSGI::BEGIN@2 # spent 9µs making 1 call to strict::import
3
4# for temporary backward compat
5298µs224.2ms
# spent 24.2ms (18µs+24.2) within Plack::Handler::HTTP::Server::PSGI::BEGIN@5 which was called: # once (18µs+24.2ms) by parent::import at line 5
use parent qw( HTTP::Server::PSGI );
# spent 24.2ms making 1 call to Plack::Handler::HTTP::Server::PSGI::BEGIN@5 # spent 24.2ms making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 24.2ms
6
7
# spent 6µs within Plack::Handler::HTTP::Server::PSGI::new which was called: # once (6µs+0s) by Plack::Loader::load at line 46 of Plack/Loader.pm
sub new {
812µs my($class, %args) = @_;
916µs bless { %args }, $class;
10}
11
12sub run {
131200ns my($self, $app) = @_;
1413µs118µs $self->_server->run($app);
# spent 18µs making 1 call to Plack::Handler::HTTP::Server::PSGI::_server
15}
16
17
# spent 18µs (11+7) within Plack::Handler::HTTP::Server::PSGI::_server which was called: # once (11µs+7µs) by Plack::Handler::HTTP::Server::PSGI::run at line 14
sub _server {
181200ns my $self = shift;
1919µs17µs HTTP::Server::PSGI->new(%$self);
# spent 7µs making 1 call to HTTP::Server::PSGI::new
20}
21
2212µs1;
23
24__END__