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 271µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 26µs | 116µs | BEGIN@3 | Regexp::Common::URI::wais::
1 | 1 | 1 | 14µs | 59µs | BEGIN@4 | Regexp::Common::URI::wais::
1 | 1 | 1 | 14µs | 20µs | BEGIN@8 | Regexp::Common::URI::wais::
1 | 1 | 1 | 12µs | 48µs | BEGIN@11 | Regexp::Common::URI::wais::
1 | 1 | 1 | 12µs | 224µs | BEGIN@5 | Regexp::Common::URI::wais::
1 | 1 | 1 | 10µs | 22µs | BEGIN@9 | Regexp::Common::URI::wais::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Regexp::Common::URI::wais; | ||||
2 | |||||
3 | 2 | 34µs | 2 | 116µs | # spent 116µs (26+90) within Regexp::Common::URI::wais::BEGIN@3 which was called:
# once (26µs+90µs) by Regexp::Common::import at line 3 # spent 116µs making 1 call to Regexp::Common::URI::wais::BEGIN@3
# spent 90µs making 1 call to Regexp::Common::import, recursion: max depth 1, sum of overlapping time 90µs |
4 | 2 | 33µs | 2 | 103µs | # spent 59µs (14+44) within Regexp::Common::URI::wais::BEGIN@4 which was called:
# once (14µs+44µs) by Regexp::Common::import at line 4 # spent 59µs making 1 call to Regexp::Common::URI::wais::BEGIN@4
# spent 44µs making 1 call to Exporter::import |
5 | 1 | 213µs | # spent 224µs (12+213) within Regexp::Common::URI::wais::BEGIN@5 which was called:
# once (12µs+213µs) by Regexp::Common::import at line 6 # spent 213µs making 1 call to Exporter::import | ||
6 | 2 | 32µs | 1 | 224µs | $search $database $wtype $wpath/; # spent 224µs making 1 call to Regexp::Common::URI::wais::BEGIN@5 |
7 | |||||
8 | 2 | 27µs | 2 | 25µs | # spent 20µs (14+5) within Regexp::Common::URI::wais::BEGIN@8 which was called:
# once (14µs+5µs) by Regexp::Common::import at line 8 # spent 20µs making 1 call to Regexp::Common::URI::wais::BEGIN@8
# spent 6µs making 1 call to strict::import |
9 | 2 | 30µs | 2 | 33µs | # spent 22µs (10+11) within Regexp::Common::URI::wais::BEGIN@9 which was called:
# once (10µs+11µs) by Regexp::Common::import at line 9 # spent 22µs making 1 call to Regexp::Common::URI::wais::BEGIN@9
# spent 11µs making 1 call to warnings::import |
10 | |||||
11 | 2 | 92µs | 2 | 84µs | # spent 48µs (12+36) within Regexp::Common::URI::wais::BEGIN@11 which was called:
# once (12µs+36µs) by Regexp::Common::import at line 11 # spent 48µs making 1 call to Regexp::Common::URI::wais::BEGIN@11
# spent 36µ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 | 6µs | register_uri $scheme => $uri; # spent 6µs making 1 call to Regexp::Common::URI::register_uri |
20 | |||||
21 | 1 | 4µs | 1 | 106µs | pattern name => [qw (URI WAIS)], # spent 106µs making 1 call to Regexp::Common::pattern |
22 | create => $uri, | ||||
23 | ; | ||||
24 | |||||
25 | 1 | 7µs | 1; | ||
26 | |||||
27 | __END__ |