← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 17:10:45 2013
Reported on Tue Oct 15 17:11:23 2013

Filename/usr/lib/perl/5.10/Digest/MD5.pm
StatementsExecuted 20 statements in 732µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
31147µs47µsDigest::MD5::::addDigest::MD5::add (xsub)
31135µs35µsDigest::MD5::::newDigest::MD5::new (xsub)
11117µs20µsDigest::MD5::::BEGIN@3Digest::MD5::BEGIN@3
31110µs10µsDigest::MD5::::hexdigestDigest::MD5::hexdigest (xsub)
1118µs62µsDigest::MD5::::BEGIN@4Digest::MD5::BEGIN@4
3116µs6µ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
3335µs224µs
# spent 20µs (17+4) within Digest::MD5::BEGIN@3 which was called: # once (17µs+4µs) by C4::Auth::BEGIN@22 at line 3
use strict;
# spent 20µs making 1 call to Digest::MD5::BEGIN@3 # spent 4µs making 1 call to strict::import
43241µs2115µs
# spent 62µs (8+53) within Digest::MD5::BEGIN@4 which was called: # once (8µs+53µs) by C4::Auth::BEGIN@22 at line 4
use vars qw($VERSION @ISA @EXPORT_OK);
# spent 62µs making 1 call to Digest::MD5::BEGIN@4 # spent 53µs making 1 call to vars::import
5
61700ns$VERSION = '2.39';
7
81900nsrequire Exporter;
912µs*import = \&Exporter::import;
1012µs@EXPORT_OK = qw(md5 md5_hex md5_base64);
11
1211µseval {
131122µs require Digest::base;
1418µs push(@ISA, 'Digest::base');
15};
161300nsif ($@) {
17 my $err = $@;
18 *add_bits = sub { die $err };
19}
20
21
221900nseval {
2311µs require XSLoader;
241301µs1291µs XSLoader::load('Digest::MD5', $VERSION);
# spent 291µs making 1 call to XSLoader::load
25};
261900nsif ($@) {
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 {
4112µs *reset = \&new;
42}
43
44114µs1;
45__END__
 
# spent 6µs within Digest::MD5::DESTROY which was called 3 times, avg 2µs/call: # 3 times (6µs+0s) by CGI::Session::ID::md5::generate_id at line 80 of CGI/Session.pm, avg 2µs/call
sub Digest::MD5::DESTROY; # xsub
# spent 47µs within Digest::MD5::add which was called 3 times, avg 16µs/call: # 3 times (47µs+0s) by CGI::Session::ID::md5::generate_id at line 15 of CGI/Session/ID/md5.pm, avg 16µs/call
sub Digest::MD5::add; # xsub
# spent 10µs within Digest::MD5::hexdigest which was called 3 times, avg 3µs/call: # 3 times (10µs+0s) by CGI::Session::ID::md5::generate_id at line 16 of CGI/Session/ID/md5.pm, avg 3µs/call
sub Digest::MD5::hexdigest; # xsub
# spent 35µs within Digest::MD5::new which was called 3 times, avg 12µs/call: # 3 times (35µs+0s) by CGI::Session::ID::md5::generate_id at line 14 of CGI/Session/ID/md5.pm, avg 12µs/call
sub Digest::MD5::new; # xsub