← 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:16 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 525µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111820µs2.18msRegexp::Common::URI::gopher::::BEGIN@6Regexp::Common::URI::gopher::BEGIN@6
11128µs108µsRegexp::Common::URI::gopher::::BEGIN@3Regexp::Common::URI::gopher::BEGIN@3
11112µs56µsRegexp::Common::URI::gopher::::BEGIN@4Regexp::Common::URI::gopher::BEGIN@4
11112µs162µsRegexp::Common::URI::gopher::::BEGIN@5Regexp::Common::URI::gopher::BEGIN@5
11112µs16µsRegexp::Common::URI::gopher::::BEGIN@8Regexp::Common::URI::gopher::BEGIN@8
11111µs43µsRegexp::Common::URI::gopher::::BEGIN@11Regexp::Common::URI::gopher::BEGIN@11
11111µs19µsRegexp::Common::URI::gopher::::BEGIN@9Regexp::Common::URI::gopher::BEGIN@9
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
3243µs2108µs
# spent 108µs (28+80) within Regexp::Common::URI::gopher::BEGIN@3 which was called: # once (28µs+80µs) by Regexp::Common::import at line 3
use Regexp::Common qw /pattern clean no_defaults/;
# spent 108µs making 1 call to Regexp::Common::URI::gopher::BEGIN@3 # spent 80µs making 1 call to Regexp::Common::import, recursion: max depth 1, sum of overlapping time 80µs
4235µs299µs
# spent 56µs (12+43) within Regexp::Common::URI::gopher::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 56µs making 1 call to Regexp::Common::URI::gopher::BEGIN@4 # spent 43µs making 1 call to Exporter::import
5231µs2312µs
# spent 162µs (12+150) within Regexp::Common::URI::gopher::BEGIN@5 which was called: # once (12µs+150µs) by Regexp::Common::import at line 5
use Regexp::Common::URI::RFC1738 qw /$host $port $uchars/;
# spent 162µs making 1 call to Regexp::Common::URI::gopher::BEGIN@5 # spent 150µs making 1 call to Exporter::import
62176µs22.48ms
# spent 2.18ms (820µs+1.36) within Regexp::Common::URI::gopher::BEGIN@6 which was called: # once (820µs+1.36ms) by Regexp::Common::import at line 6
use Regexp::Common::URI::RFC1808 qw /$pchars $pchar_range/;
# spent 2.18ms making 1 call to Regexp::Common::URI::gopher::BEGIN@6 # spent 306µs making 1 call to Exporter::import
7
8225µs221µs
# spent 16µs (12+5) within Regexp::Common::URI::gopher::BEGIN@8 which was called: # once (12µ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
9229µs227µs
# spent 19µs (11+8) within Regexp::Common::URI::gopher::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::gopher::BEGIN@9 # spent 8µs making 1 call to warnings::import
10
112145µs275µs
# spent 43µs (11+32) within Regexp::Common::URI::gopher::BEGIN@11 which was called: # once (11µs+32µs) by Regexp::Common::import at line 11
use vars qw /$VERSION/;
# spent 43µs making 1 call to Regexp::Common::URI::gopher::BEGIN@11 # spent 32µ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;
211600nsmy $selector = $pchars;
2211µsmy $selector_notab = $pchars_notab;
231900nsmy $gopher_type = "(?:[0-9+IgT])";
24
2511µsmy $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µs15µsregister_uri $scheme => $uri;
# spent 5µ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µs1101µs ;
# spent 101µs making 1 call to Regexp::Common::pattern
38
39112µs1;
40
41__END__