Filename | /usr/lib64/perl5/vendor_perl/Digest/MD5.pm |
Statements | Executed 18 statements in 637µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
41 | 1 | 1 | 283µs | 283µs | md5_hex (xsub) | Digest::MD5::
1 | 1 | 1 | 17µs | 37µs | BEGIN@3 | Digest::MD5::
1 | 1 | 1 | 13µs | 54µs | BEGIN@4 | Digest::MD5::
1 | 1 | 1 | 11µs | 11µs | new (xsub) | Digest::MD5::
1 | 1 | 1 | 9µs | 9µs | DESTROY (xsub) | Digest::MD5::
0 | 0 | 0 | 0s | 0s | __ANON__[:18] | Digest::MD5::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Digest::MD5; | ||||
2 | |||||
3 | 2 | 43µs | 2 | 58µs | # spent 37µs (17+20) within Digest::MD5::BEGIN@3 which was called:
# once (17µs+20µs) by Foswiki::BEGIN@50 at line 3 # spent 37µs making 1 call to Digest::MD5::BEGIN@3
# spent 20µs making 1 call to strict::import |
4 | 2 | 268µs | 2 | 95µs | # spent 54µs (13+41) within Digest::MD5::BEGIN@4 which was called:
# once (13µs+41µs) by Foswiki::BEGIN@50 at line 4 # spent 54µs making 1 call to Digest::MD5::BEGIN@4
# spent 41µs making 1 call to vars::import |
5 | |||||
6 | 1 | 900ns | $VERSION = '2.52'; | ||
7 | |||||
8 | 1 | 700ns | require Exporter; | ||
9 | 1 | 2µs | *import = \&Exporter::import; | ||
10 | 1 | 2µs | @EXPORT_OK = qw(md5 md5_hex md5_base64); | ||
11 | |||||
12 | 1 | 800ns | eval { | ||
13 | 1 | 92µs | require Digest::base; | ||
14 | 1 | 9µs | push(@ISA, 'Digest::base'); | ||
15 | }; | ||||
16 | 1 | 200ns | if ($@) { | ||
17 | my $err = $@; | ||||
18 | *add_bits = sub { die $err }; | ||||
19 | } | ||||
20 | |||||
21 | |||||
22 | 1 | 3µs | eval { | ||
23 | 1 | 600ns | require XSLoader; | ||
24 | 1 | 195µs | 1 | 186µs | XSLoader::load('Digest::MD5', $VERSION); # spent 186µs making 1 call to XSLoader::load |
25 | }; | ||||
26 | 1 | 700ns | if ($@) { | ||
27 | my $olderr = $@; | ||||
28 | eval { | ||||
29 | # Try to load the pure perl version | ||||
30 | require Digest::Perl::MD5; | ||||
31 | |||||
32 | Digest::Perl::MD5->import(qw(md5 md5_hex md5_base64)); | ||||
33 | unshift(@ISA, "Digest::Perl::MD5"); # make OO interface work | ||||
34 | }; | ||||
35 | if ($@) { | ||||
36 | # restore the original error | ||||
37 | die $olderr; | ||||
38 | } | ||||
39 | } | ||||
40 | else { | ||||
41 | 1 | 2µs | *reset = \&new; | ||
42 | } | ||||
43 | |||||
44 | 1 | 18µs | 1; | ||
45 | __END__ | ||||
# spent 9µs within Digest::MD5::DESTROY which was called:
# once (9µs+0s) by Foswiki::finish at line 2178 of /var/www/foswiki11/lib/Foswiki.pm | |||||
# spent 283µs within Digest::MD5::md5_hex which was called 41 times, avg 7µs/call:
# 41 times (283µs+0s) by Foswiki::Search::searchWeb at line 273 of /var/www/foswiki11/lib/Foswiki/Search.pm, avg 7µs/call | |||||
# spent 11µs within Digest::MD5::new which was called:
# once (11µs+0s) by Foswiki::new at line 1725 of /var/www/foswiki11/lib/Foswiki.pm |