← 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:44 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 359µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11126µs111µsRegexp::Common::URI::ftp::::BEGIN@3Regexp::Common::URI::ftp::BEGIN@3
11113µs205µsRegexp::Common::URI::ftp::::BEGIN@5Regexp::Common::URI::ftp::BEGIN@5
11112µs47µsRegexp::Common::URI::ftp::::BEGIN@11Regexp::Common::URI::ftp::BEGIN@11
11112µs22µsRegexp::Common::URI::ftp::::BEGIN@9Regexp::Common::URI::ftp::BEGIN@9
11112µs17µsRegexp::Common::URI::ftp::::BEGIN@8Regexp::Common::URI::ftp::BEGIN@8
11111µs57µsRegexp::Common::URI::ftp::::BEGIN@4Regexp::Common::URI::ftp::BEGIN@4
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
3231µs2111µs
# spent 111µs (26+84) within Regexp::Common::URI::ftp::BEGIN@3 which was called: # once (26µs+84µs) by Regexp::Common::import at line 3
use Regexp::Common qw /pattern clean no_defaults/;
# spent 111µs making 1 call to Regexp::Common::URI::ftp::BEGIN@3 # spent 84µs making 1 call to Regexp::Common::import, recursion: max depth 1, sum of overlapping time 84µs
4230µs2102µs
# spent 57µs (11+46) within Regexp::Common::URI::ftp::BEGIN@4 which was called: # once (11µs+46µs) by Regexp::Common::import at line 4
use Regexp::Common::URI qw /register_uri/;
# spent 57µs making 1 call to Regexp::Common::URI::ftp::BEGIN@4 # spent 46µs making 1 call to Exporter::import
519µs1192µs
# spent 205µs (13+192) within Regexp::Common::URI::ftp::BEGIN@5 which was called: # once (13µs+192µs) by Regexp::Common::import at line 6
use Regexp::Common::URI::RFC2396 qw /$host $port $ftp_segments $userinfo
# spent 192µs making 1 call to Exporter::import
6122µs1205µs $userinfo_no_colon/;
# spent 205µs making 1 call to Regexp::Common::URI::ftp::BEGIN@5
7
8227µs221µs
# spent 17µs (12+5) within Regexp::Common::URI::ftp::BEGIN@8 which was called: # once (12µs+5µs) by Regexp::Common::import at line 8
use strict;
# spent 17µs making 1 call to Regexp::Common::URI::ftp::BEGIN@8 # spent 5µs making 1 call to strict::import
9232µs232µs
# spent 22µs (12+10) within Regexp::Common::URI::ftp::BEGIN@9 which was called: # once (12µs+10µs) by Regexp::Common::import at line 9
use warnings;
# spent 22µs making 1 call to Regexp::Common::URI::ftp::BEGIN@9 # spent 10µs making 1 call to warnings::import
10
112173µs281µs
# spent 47µs (12+35) within Regexp::Common::URI::ftp::BEGIN@11 which was called: # once (12µs+35µs) by Regexp::Common::import at line 11
use vars qw /$VERSION/;
# spent 47µs making 1 call to Regexp::Common::URI::ftp::BEGIN@11 # spent 34µs making 1 call to vars::import
1212µs$VERSION = '2010010201';
13
14
1515µ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
2518µs111µsregister_uri FTP => $ftp_uri;
# spent 11µ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 }
3617µs1128µs ;
# spent 128µs making 1 call to Regexp::Common::pattern
37
38
39110µs1;
40
41__END__