← Index
NYTProf Performance Profile   « block view • line view • sub view »
For reply.pl
  Run on Thu Oct 21 22:40:13 2010
Reported on Thu Oct 21 22:44:41 2010

Filename/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/Regexp/Common/URI/http.pm
StatementsExecuted 17 statements in 270µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11126µs114µsRegexp::Common::URI::http::::BEGIN@3Regexp::Common::URI::http::BEGIN@3
11116µs60µsRegexp::Common::URI::http::::BEGIN@4Regexp::Common::URI::http::BEGIN@4
11112µs184µsRegexp::Common::URI::http::::BEGIN@5Regexp::Common::URI::http::BEGIN@5
11112µs26µsRegexp::Common::URI::http::::BEGIN@7Regexp::Common::URI::http::BEGIN@7
11111µs20µsRegexp::Common::URI::http::::BEGIN@8Regexp::Common::URI::http::BEGIN@8
11111µs43µsRegexp::Common::URI::http::::BEGIN@10Regexp::Common::URI::http::BEGIN@10
0000s0sRegexp::Common::URI::http::::__ANON__[:25]Regexp::Common::URI::http::__ANON__[:25]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Regexp::Common::URI::http;
2
3232µs2114µs
# spent 114µs (26+88) within Regexp::Common::URI::http::BEGIN@3 which was called: # once (26µs+88µs) by Regexp::Common::import at line 3
use Regexp::Common qw /pattern clean no_defaults/;
# spent 114µs making 1 call to Regexp::Common::URI::http::BEGIN@3 # spent 88µs making 1 call to Regexp::Common::import, recursion: max depth 1, sum of overlapping time 88µs
4231µs2104µs
# spent 60µs (16+44) within Regexp::Common::URI::http::BEGIN@4 which was called: # once (16µs+44µs) by Regexp::Common::import at line 4
use Regexp::Common::URI qw /register_uri/;
# spent 60µs making 1 call to Regexp::Common::URI::http::BEGIN@4 # spent 44µs making 1 call to Exporter::import
5229µs2355µs
# spent 184µs (12+171) within Regexp::Common::URI::http::BEGIN@5 which was called: # once (12µs+171µs) by Regexp::Common::import at line 5
use Regexp::Common::URI::RFC2396 qw /$host $port $path_segments $query/;
# spent 184µs making 1 call to Regexp::Common::URI::http::BEGIN@5 # spent 171µs making 1 call to Exporter::import
6
7226µs241µs
# spent 26µs (12+15) within Regexp::Common::URI::http::BEGIN@7 which was called: # once (12µs+15µs) by Regexp::Common::import at line 7
use strict;
# spent 26µs making 1 call to Regexp::Common::URI::http::BEGIN@7 # spent 15µs making 1 call to strict::import
8227µs229µs
# spent 20µs (11+9) within Regexp::Common::URI::http::BEGIN@8 which was called: # once (11µs+9µs) by Regexp::Common::import at line 8
use warnings;
# spent 20µs making 1 call to Regexp::Common::URI::http::BEGIN@8 # spent 9µs making 1 call to warnings::import
9
102103µs275µs
# spent 43µs (11+32) within Regexp::Common::URI::http::BEGIN@10 which was called: # once (11µs+32µs) by Regexp::Common::import at line 10
use vars qw /$VERSION/;
# spent 43µs making 1 call to Regexp::Common::URI::http::BEGIN@10 # spent 32µs making 1 call to vars::import
1111µs$VERSION = '2010010201';
12
13
1414µsmy $http_uri = "(?k:(?k:http)://(?k:$host)(?::(?k:$port))?" .
15 "(?k:/(?k:(?k:$path_segments)(?:[?](?k:$query))?))?)";
16
1714µs16µsregister_uri HTTP => $http_uri;
# spent 6µs making 1 call to Regexp::Common::URI::register_uri
18
19pattern name => [qw (URI HTTP), "-scheme=http"],
20 create => sub {
21 my $scheme = $_ [1] -> {-scheme};
22 my $uri = $http_uri;
23 $uri =~ s/http/$scheme/;
24 $uri;
25 }
2617µs1105µs ;
# spent 105µs making 1 call to Regexp::Common::pattern
27
2817µs1;
29
30__END__