Filename | /home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/Regexp/Common/URI/news.pm |
Statements | Executed 22 statements in 273µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 26µs | 106µs | BEGIN@3 | Regexp::Common::URI::news::
1 | 1 | 1 | 19µs | 61µs | BEGIN@4 | Regexp::Common::URI::news::
1 | 1 | 1 | 11µs | 20µs | BEGIN@9 | Regexp::Common::URI::news::
1 | 1 | 1 | 11µs | 16µs | BEGIN@8 | Regexp::Common::URI::news::
1 | 1 | 1 | 11µs | 43µs | BEGIN@11 | Regexp::Common::URI::news::
1 | 1 | 1 | 11µs | 211µs | BEGIN@5 | Regexp::Common::URI::news::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Regexp::Common::URI::news; | ||||
2 | |||||
3 | 2 | 30µs | 2 | 106µs | # spent 106µs (26+80) within Regexp::Common::URI::news::BEGIN@3 which was called:
# once (26µs+80µs) by Regexp::Common::import at line 3 # spent 106µs making 1 call to Regexp::Common::URI::news::BEGIN@3
# spent 80µs making 1 call to Regexp::Common::import, recursion: max depth 1, sum of overlapping time 80µs |
4 | 2 | 35µs | 2 | 104µs | # spent 61µs (19+42) within Regexp::Common::URI::news::BEGIN@4 which was called:
# once (19µs+42µs) by Regexp::Common::import at line 4 # spent 61µs making 1 call to Regexp::Common::URI::news::BEGIN@4
# spent 42µs making 1 call to Exporter::import |
5 | 1 | 7µs | 1 | 200µs | # spent 211µs (11+200) within Regexp::Common::URI::news::BEGIN@5 which was called:
# once (11µs+200µs) by Regexp::Common::import at line 6 # spent 200µs making 1 call to Exporter::import |
6 | 1 | 21µs | 1 | 211µs | $host $port $digits/; # spent 211µs making 1 call to Regexp::Common::URI::news::BEGIN@5 |
7 | |||||
8 | 2 | 25µs | 2 | 21µs | # spent 16µs (11+5) within Regexp::Common::URI::news::BEGIN@8 which was called:
# once (11µs+5µs) by Regexp::Common::import at line 8 # spent 16µs making 1 call to Regexp::Common::URI::news::BEGIN@8
# spent 5µs making 1 call to strict::import |
9 | 2 | 26µs | 2 | 29µs | # spent 20µs (11+9) within Regexp::Common::URI::news::BEGIN@9 which was called:
# once (11µs+9µs) by Regexp::Common::import at line 9 # spent 20µs making 1 call to Regexp::Common::URI::news::BEGIN@9
# spent 9µs making 1 call to warnings::import |
10 | |||||
11 | 2 | 95µs | 2 | 75µs | # spent 43µs (11+32) within Regexp::Common::URI::news::BEGIN@11 which was called:
# once (11µs+32µs) by Regexp::Common::import at line 11 # spent 43µs making 1 call to Regexp::Common::URI::news::BEGIN@11
# spent 32µs making 1 call to vars::import |
12 | 1 | 1µs | $VERSION = '2010010201'; | ||
13 | |||||
14 | |||||
15 | 1 | 1µs | my $news_scheme = 'news'; | ||
16 | 1 | 2µs | my $news_uri = "(?k:(?k:$news_scheme):(?k:$grouppart))"; | ||
17 | |||||
18 | 1 | 1µs | my $nntp_scheme = 'nntp'; | ||
19 | 1 | 3µs | my $nntp_uri = "(?k:(?k:$nntp_scheme)://(?k:(?k:(?k:$host)(?::(?k:$port))?)" | ||
20 | . "/(?k:$group)(?:/(?k:$digits))?))"; | ||||
21 | |||||
22 | 1 | 4µs | 1 | 6µs | register_uri $news_scheme => $news_uri; # spent 6µs making 1 call to Regexp::Common::URI::register_uri |
23 | 1 | 3µs | 1 | 5µs | register_uri $nntp_scheme => $nntp_uri; # spent 5µs making 1 call to Regexp::Common::URI::register_uri |
24 | |||||
25 | 1 | 4µs | 1 | 98µs | pattern name => [qw (URI news)], # spent 98µs making 1 call to Regexp::Common::pattern |
26 | create => $news_uri, | ||||
27 | ; | ||||
28 | |||||
29 | 1 | 5µs | 1 | 94µs | pattern name => [qw (URI NNTP)], # spent 94µs making 1 call to Regexp::Common::pattern |
30 | create => $nntp_uri, | ||||
31 | ; | ||||
32 | |||||
33 | 1 | 9µs | 1; | ||
34 | |||||
35 | __END__ |