← 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:39 2010

Filename/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/Regexp/Common/URI/gopher.pm
StatementsExecuted 28 statements in 515µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111791µs2.15msRegexp::Common::URI::gopher::::BEGIN@6Regexp::Common::URI::gopher::BEGIN@6
11136µs119µsRegexp::Common::URI::gopher::::BEGIN@3Regexp::Common::URI::gopher::BEGIN@3
11112µs20µsRegexp::Common::URI::gopher::::BEGIN@9Regexp::Common::URI::gopher::BEGIN@9
11112µs57µsRegexp::Common::URI::gopher::::BEGIN@4Regexp::Common::URI::gopher::BEGIN@4
11111µs187µsRegexp::Common::URI::gopher::::BEGIN@5Regexp::Common::URI::gopher::BEGIN@5
11111µs16µsRegexp::Common::URI::gopher::::BEGIN@8Regexp::Common::URI::gopher::BEGIN@8
11111µs44µsRegexp::Common::URI::gopher::::BEGIN@11Regexp::Common::URI::gopher::BEGIN@11
0000s0sRegexp::Common::URI::gopher::::__ANON__[:36]Regexp::Common::URI::gopher::__ANON__[:36]
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::gopher;
2
3232µs2119µs
# spent 119µs (36+84) within Regexp::Common::URI::gopher::BEGIN@3 which was called: # once (36µs+84µs) by Regexp::Common::import at line 3
use Regexp::Common qw /pattern clean no_defaults/;
# spent 119µs making 1 call to Regexp::Common::URI::gopher::BEGIN@3 # spent 84µs making 1 call to Regexp::Common::import, recursion: max depth 1, sum of overlapping time 84µs
4233µs2102µs
# spent 57µs (12+45) within Regexp::Common::URI::gopher::BEGIN@4 which was called: # once (12µs+45µ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::gopher::BEGIN@4 # spent 45µs making 1 call to Exporter::import
5231µs2362µs
# spent 187µs (11+175) within Regexp::Common::URI::gopher::BEGIN@5 which was called: # once (11µs+175µs) by Regexp::Common::import at line 5
use Regexp::Common::URI::RFC1738 qw /$host $port $uchars/;
# spent 187µs making 1 call to Regexp::Common::URI::gopher::BEGIN@5 # spent 175µs making 1 call to Exporter::import
62170µs22.45ms
# spent 2.15ms (791µs+1.36) within Regexp::Common::URI::gopher::BEGIN@6 which was called: # once (791µs+1.36ms) by Regexp::Common::import at line 6
use Regexp::Common::URI::RFC1808 qw /$pchars $pchar_range/;
# spent 2.15ms making 1 call to Regexp::Common::URI::gopher::BEGIN@6 # spent 301µs making 1 call to Exporter::import
7
8225µs221µs
# spent 16µs (11+5) within Regexp::Common::URI::gopher::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::gopher::BEGIN@8 # spent 5µs making 1 call to strict::import
9227µs229µs
# spent 20µs (12+9) within Regexp::Common::URI::gopher::BEGIN@9 which was called: # once (12µs+9µs) by Regexp::Common::import at line 9
use warnings;
# spent 20µs making 1 call to Regexp::Common::URI::gopher::BEGIN@9 # spent 9µs making 1 call to warnings::import
10
112156µs276µs
# spent 44µs (11+33) within Regexp::Common::URI::gopher::BEGIN@11 which was called: # once (11µs+33µs) by Regexp::Common::import at line 11
use vars qw /$VERSION/;
# spent 44µs making 1 call to Regexp::Common::URI::gopher::BEGIN@11 # spent 33µs making 1 call to vars::import
1212µs$VERSION = '2010010201';
13
14
1512µsmy $pchars_notab = "(?:(?:[$pchar_range]+|" .
16 "%(?:[1-9a-fA-F][0-9a-fA-F]|0[0-8a-fA-F]))*)";
17
1811µsmy $gopherplus_string = $pchars;
1911µsmy $search = $pchars;
2011µsmy $search_notab = $pchars_notab;
2111µsmy $selector = $pchars;
2211µsmy $selector_notab = $pchars_notab;
231800nsmy $gopher_type = "(?:[0-9+IgT])";
24
251800nsmy $scheme = "gopher";
2613µsmy $uri = "(?k:(?k:$scheme)://(?k:$host)(?::(?k:$port))?" .
27 "/(?k:(?k:$gopher_type)(?k:$selector)))";
2814µsmy $uri_notab = "(?k:(?k:$scheme)://(?k:$host)(?::(?k:$port))?" .
29 "/(?k:(?k:$gopher_type)(?k:$selector_notab)" .
30 "(?:%09(?k:$search_notab)(?:%09(?k:$gopherplus_string))?)?))";
31
3214µs16µsregister_uri $scheme => $uri;
# spent 6µs making 1 call to Regexp::Common::URI::register_uri
33
34pattern name => [qw (URI gopher -notab=)],
35 create => sub { exists $_ [1] {-notab} &&
36 !defined $_ [1] {-notab} ? $uri_notab : $uri},
3716µs1108µs ;
# spent 108µs making 1 call to Regexp::Common::pattern
38
39112µs1;
40
41__END__