Filename | /home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/Regexp/Common/URI/wais.pm |
Statements | Executed 18 statements in 239µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 25µs | 105µs | BEGIN@3 | Regexp::Common::URI::wais::
1 | 1 | 1 | 12µs | 16µs | BEGIN@8 | Regexp::Common::URI::wais::
1 | 1 | 1 | 11µs | 54µs | BEGIN@4 | Regexp::Common::URI::wais::
1 | 1 | 1 | 11µs | 19µs | BEGIN@9 | Regexp::Common::URI::wais::
1 | 1 | 1 | 10µs | 43µs | BEGIN@11 | Regexp::Common::URI::wais::
1 | 1 | 1 | 10µs | 205µs | BEGIN@5 | Regexp::Common::URI::wais::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Regexp::Common::URI::wais; | ||||
2 | |||||
3 | 2 | 30µs | 2 | 105µs | # spent 105µs (25+81) within Regexp::Common::URI::wais::BEGIN@3 which was called:
# once (25µs+81µs) by Regexp::Common::import at line 3 # spent 105µs making 1 call to Regexp::Common::URI::wais::BEGIN@3
# spent 81µs making 1 call to Regexp::Common::import, recursion: max depth 1, sum of overlapping time 81µs |
4 | 2 | 31µs | 2 | 96µs | # spent 54µs (11+42) within Regexp::Common::URI::wais::BEGIN@4 which was called:
# once (11µs+42µs) by Regexp::Common::import at line 4 # spent 54µs making 1 call to Regexp::Common::URI::wais::BEGIN@4
# spent 42µs making 1 call to Exporter::import |
5 | 1 | 7µs | 1 | 195µs | # spent 205µs (10+195) within Regexp::Common::URI::wais::BEGIN@5 which was called:
# once (10µs+195µs) by Regexp::Common::import at line 6 # spent 195µs making 1 call to Exporter::import |
6 | 1 | 20µs | 1 | 205µs | $search $database $wtype $wpath/; # spent 205µs making 1 call to Regexp::Common::URI::wais::BEGIN@5 |
7 | |||||
8 | 2 | 24µs | 2 | 21µs | # spent 16µs (12+5) within Regexp::Common::URI::wais::BEGIN@8 which was called:
# once (12µs+5µs) by Regexp::Common::import at line 8 # spent 16µs making 1 call to Regexp::Common::URI::wais::BEGIN@8
# spent 5µs making 1 call to strict::import |
9 | 2 | 31µs | 2 | 28µs | # spent 19µs (11+9) within Regexp::Common::URI::wais::BEGIN@9 which was called:
# once (11µs+9µs) by Regexp::Common::import at line 9 # spent 19µs making 1 call to Regexp::Common::URI::wais::BEGIN@9
# spent 9µs making 1 call to warnings::import |
10 | |||||
11 | 2 | 73µs | 2 | 75µs | # spent 43µs (10+32) within Regexp::Common::URI::wais::BEGIN@11 which was called:
# once (10µs+32µs) by Regexp::Common::import at line 11 # spent 43µs making 1 call to Regexp::Common::URI::wais::BEGIN@11
# spent 32µs making 1 call to vars::import |
12 | 1 | 2µs | $VERSION = '2010010201'; | ||
13 | |||||
14 | |||||
15 | 1 | 1µs | my $scheme = 'wais'; | ||
16 | 1 | 4µs | my $uri = "(?k:(?k:$scheme)://(?k:$host)(?::(?k:$port))?/(?k:(?k:$database)" | ||
17 | . "(?k:[?](?k:$search)|/(?k:$wtype)/(?k:$wpath))?))"; | ||||
18 | |||||
19 | 1 | 4µs | 1 | 7µs | register_uri $scheme => $uri; # spent 7µs making 1 call to Regexp::Common::URI::register_uri |
20 | |||||
21 | 1 | 4µs | 1 | 99µs | pattern name => [qw (URI WAIS)], # spent 99µs making 1 call to Regexp::Common::pattern |
22 | create => $uri, | ||||
23 | ; | ||||
24 | |||||
25 | 1 | 7µs | 1; | ||
26 | |||||
27 | __END__ |