| 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 264µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 25µs | 107µs | Regexp::Common::URI::news::BEGIN@3 |
| 1 | 1 | 1 | 12µs | 44µs | Regexp::Common::URI::news::BEGIN@11 |
| 1 | 1 | 1 | 11µs | 16µs | Regexp::Common::URI::news::BEGIN@8 |
| 1 | 1 | 1 | 11µs | 53µs | Regexp::Common::URI::news::BEGIN@4 |
| 1 | 1 | 1 | 10µs | 18µs | Regexp::Common::URI::news::BEGIN@9 |
| 1 | 1 | 1 | 10µs | 210µs | Regexp::Common::URI::news::BEGIN@5 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Regexp::Common::URI::news; | ||||
| 2 | |||||
| 3 | 2 | 30µs | 2 | 107µs | # spent 107µs (25+82) within Regexp::Common::URI::news::BEGIN@3 which was called:
# once (25µs+82µs) by Regexp::Common::import at line 3 # spent 107µs making 1 call to Regexp::Common::URI::news::BEGIN@3
# spent 82µs making 1 call to Regexp::Common::import, recursion: max depth 1, sum of overlapping time 82µs |
| 4 | 2 | 31µs | 2 | 96µs | # spent 53µs (11+42) within Regexp::Common::URI::news::BEGIN@4 which was called:
# once (11µs+42µs) by Regexp::Common::import at line 4 # spent 53µ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 210µs (10+200) within Regexp::Common::URI::news::BEGIN@5 which was called:
# once (10µs+200µs) by Regexp::Common::import at line 6 # spent 200µs making 1 call to Exporter::import |
| 6 | 1 | 21µs | 1 | 210µs | $host $port $digits/; # spent 210µ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 | 26µs | # spent 18µs (10+8) within Regexp::Common::URI::news::BEGIN@9 which was called:
# once (10µs+8µs) by Regexp::Common::import at line 9 # spent 18µs making 1 call to Regexp::Common::URI::news::BEGIN@9
# spent 8µs making 1 call to warnings::import |
| 10 | |||||
| 11 | 2 | 91µs | 2 | 76µs | # spent 44µs (12+32) within Regexp::Common::URI::news::BEGIN@11 which was called:
# once (12µs+32µs) by Regexp::Common::import at line 11 # spent 44µs making 1 call to Regexp::Common::URI::news::BEGIN@11
# spent 32µs making 1 call to vars::import |
| 12 | 1 | 2µs | $VERSION = '2010010201'; | ||
| 13 | |||||
| 14 | |||||
| 15 | 1 | 900ns | 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 | 4µ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 | 5µs | register_uri $news_scheme => $news_uri; # spent 5µs making 1 call to Regexp::Common::URI::register_uri |
| 23 | 1 | 4µs | 1 | 6µs | register_uri $nntp_scheme => $nntp_uri; # spent 6µ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 | 4µ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__ |