← Index
NYTProf Performance Profile   « block view • line view • sub view »
For bin/hailo
  Run on Thu Oct 21 22:50:37 2010
Reported on Thu Oct 21 22:52:10 2010

Filename/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/Regexp/Common/URI/ftp.pm
StatementsExecuted 18 statements in 325µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11126µs105µsRegexp::Common::URI::ftp::::BEGIN@3Regexp::Common::URI::ftp::BEGIN@3
11112µs54µsRegexp::Common::URI::ftp::::BEGIN@4Regexp::Common::URI::ftp::BEGIN@4
11111µs192µsRegexp::Common::URI::ftp::::BEGIN@5Regexp::Common::URI::ftp::BEGIN@5
11111µs16µsRegexp::Common::URI::ftp::::BEGIN@8Regexp::Common::URI::ftp::BEGIN@8
11111µs19µsRegexp::Common::URI::ftp::::BEGIN@9Regexp::Common::URI::ftp::BEGIN@9
11110µs43µsRegexp::Common::URI::ftp::::BEGIN@11Regexp::Common::URI::ftp::BEGIN@11
0000s0sRegexp::Common::URI::ftp::::__ANON__[:35]Regexp::Common::URI::ftp::__ANON__[:35]
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::ftp;
2
3230µs2105µs
# spent 105µs (26+80) within Regexp::Common::URI::ftp::BEGIN@3 which was called: # once (26µs+80µs) by Regexp::Common::import at line 3
use Regexp::Common qw /pattern clean no_defaults/;
# spent 105µs making 1 call to Regexp::Common::URI::ftp::BEGIN@3 # spent 80µs making 1 call to Regexp::Common::import, recursion: max depth 1, sum of overlapping time 80µs
4231µs297µs
# spent 54µs (12+43) within Regexp::Common::URI::ftp::BEGIN@4 which was called: # once (12µs+43µs) by Regexp::Common::import at line 4
use Regexp::Common::URI qw /register_uri/;
# spent 54µs making 1 call to Regexp::Common::URI::ftp::BEGIN@4 # spent 43µs making 1 call to Exporter::import
51180µs
# spent 192µs (11+180) within Regexp::Common::URI::ftp::BEGIN@5 which was called: # once (11µs+180µs) by Regexp::Common::import at line 6
use Regexp::Common::URI::RFC2396 qw /$host $port $ftp_segments $userinfo
# spent 180µs making 1 call to Exporter::import
6228µs1192µs $userinfo_no_colon/;
# spent 192µs making 1 call to Regexp::Common::URI::ftp::BEGIN@5
7
8225µs221µs
# spent 16µs (11+5) within Regexp::Common::URI::ftp::BEGIN@8 which was called: # once (11µs+5µs) by Regexp::Common::import at line 8
use strict;
# spent 16µs making 1 call to Regexp::Common::URI::ftp::BEGIN@8 # spent 5µs making 1 call to strict::import
9227µs228µs
# spent 19µs (11+8) within Regexp::Common::URI::ftp::BEGIN@9 which was called: # once (11µs+8µs) by Regexp::Common::import at line 9
use warnings;
# spent 19µs making 1 call to Regexp::Common::URI::ftp::BEGIN@9 # spent 8µs making 1 call to warnings::import
10
112154µs275µs
# spent 43µs (10+32) within Regexp::Common::URI::ftp::BEGIN@11 which was called: # once (10µs+32µs) by Regexp::Common::import at line 11
use vars qw /$VERSION/;
# spent 43µs making 1 call to Regexp::Common::URI::ftp::BEGIN@11 # spent 32µs making 1 call to vars::import
1212µs$VERSION = '2010010201';
13
14
1514µsmy $ftp_uri = "(?k:(?k:ftp)://(?:(?k:$userinfo)(?k:)\@)?(?k:$host)" .
16 "(?::(?k:$port))?(?k:/(?k:(?k:$ftp_segments)" .
17 "(?:;type=(?k:[AIai]))?))?)";
18
1914µsmy $ftp_uri_password =
20 "(?k:(?k:ftp)://(?:(?k:$userinfo_no_colon)" .
21 "(?::(?k:$userinfo_no_colon))?\@)?(?k:$host)" .
22 "(?::(?k:$port))?(?k:/(?k:(?k:$ftp_segments)" .
23 "(?:;type=(?k:[AIai]))?))?)";
24
2514µs16µsregister_uri FTP => $ftp_uri;
# spent 6µs making 1 call to Regexp::Common::URI::register_uri
26
27pattern name => [qw (URI FTP), "-type=[AIai]", "-password="],
28 create => sub {
29 my $uri = exists $_ [1] -> {-password} &&
30 !defined $_ [1] -> {-password} ? $ftp_uri_password
31 : $ftp_uri;
32 my $type = $_ [1] -> {-type};
33 $uri =~ s/\[AIai\]/$type/;
34 $uri;
35 }
3616µs1116µs ;
# spent 116µs making 1 call to Regexp::Common::pattern
37
38
3919µs1;
40
41__END__