← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/local/src/github.com/foswiki/core/bin/view
  Run on Sun Dec 4 17:17:59 2011
Reported on Sun Dec 4 17:27:03 2011

Filename/usr/lib/perl/5.14/Digest/MD5.pm
StatementsExecuted 18 statements in 736µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
33247µs47µsDigest::MD5::::md5_hexDigest::MD5::md5_hex (xsub)
11126µs34µsDigest::MD5::::BEGIN@3Digest::MD5::BEGIN@3
11118µs18µsDigest::MD5::::newDigest::MD5::new (xsub)
11116µs129µsDigest::MD5::::BEGIN@4Digest::MD5::BEGIN@4
11111µs11µsDigest::MD5::::DESTROYDigest::MD5::DESTROY (xsub)
0000s0sDigest::MD5::::__ANON__[:18]Digest::MD5::__ANON__[:18]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Digest::MD5;
2
3250µs241µs
# spent 34µs (26+8) within Digest::MD5::BEGIN@3 which was called: # once (26µs+8µs) by Foswiki::BEGIN@50 at line 3
use strict;
# spent 34µs making 1 call to Digest::MD5::BEGIN@3 # spent 8µs making 1 call to strict::import
42293µs2242µs
# spent 129µs (16+113) within Digest::MD5::BEGIN@4 which was called: # once (16µs+113µs) by Foswiki::BEGIN@50 at line 4
use vars qw($VERSION @ISA @EXPORT_OK);
# spent 129µs making 1 call to Digest::MD5::BEGIN@4 # spent 113µs making 1 call to vars::import
5
612µs$VERSION = '2.51';
7
812µsrequire Exporter;
913µs*import = \&Exporter::import;
1013µs@EXPORT_OK = qw(md5 md5_hex md5_base64);
11
1213µseval {
131107µs require Digest::base;
14111µs push(@ISA, 'Digest::base');
15};
1611µsif ($@) {
17 my $err = $@;
18 *add_bits = sub { die $err };
19}
20
21
2216µseval {
2312µs require XSLoader;
241227µs1218µs XSLoader::load('Digest::MD5', $VERSION);
# spent 218µs making 1 call to XSLoader::load
25};
2613µsif ($@) {
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 push(@ISA, "Digest::Perl::MD5"); # make OO interface work
34 };
35 if ($@) {
36 # restore the original error
37 die $olderr;
38 }
39}
40else {
4113µs *reset = \&new;
42}
43
44121µs1;
45__END__
 
# spent 11µs within Digest::MD5::DESTROY which was called: # once (11µs+0s) by Foswiki::finish at line 2111 of /usr/local/src/github.com/foswiki/core/lib/Foswiki.pm
sub Digest::MD5::DESTROY; # xsub
# spent 47µs within Digest::MD5::md5_hex which was called 3 times, avg 16µs/call: # once (22µs+0s) by Foswiki::Validation::generateValidationKey at line 105 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Validation.pm # once (20µs+0s) by Foswiki::Search::searchWeb at line 330 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Search.pm # once (5µs+0s) by Foswiki::Validation::generateValidationKey at line 115 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Validation.pm
sub Digest::MD5::md5_hex; # xsub
# spent 18µs within Digest::MD5::new which was called: # once (18µs+0s) by Foswiki::new at line 1673 of /usr/local/src/github.com/foswiki/core/lib/Foswiki.pm
sub Digest::MD5::new; # xsub