← 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 11:58:52 2013
Reported on Tue Oct 15 12:01:18 2013

Filename/usr/lib/perl/5.10/Digest/MD5.pm
StatementsExecuted 20 statements in 635µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
31155µs55µsDigest::MD5::::addDigest::MD5::add (xsub)
31136µs36µsDigest::MD5::::newDigest::MD5::new (xsub)
11120µs25µsDigest::MD5::::BEGIN@3Digest::MD5::BEGIN@3
31113µs13µsDigest::MD5::::hexdigestDigest::MD5::hexdigest (xsub)
11110µs76µsDigest::MD5::::BEGIN@4Digest::MD5::BEGIN@4
3118µs8µ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
3337µs229µs
# spent 25µs (20+5) within Digest::MD5::BEGIN@3 which was called: # once (20µs+5µs) by C4::Auth::BEGIN@22 at line 3
use strict;
# spent 25µs making 1 call to Digest::MD5::BEGIN@3 # spent 4µs making 1 call to strict::import
43196µs2142µs
# spent 76µs (10+66) within Digest::MD5::BEGIN@4 which was called: # once (10µs+66µs) by C4::Auth::BEGIN@22 at line 4
use vars qw($VERSION @ISA @EXPORT_OK);
# spent 76µs making 1 call to Digest::MD5::BEGIN@4 # spent 66µs making 1 call to vars::import
5
61700ns$VERSION = '2.39';
7
81800nsrequire Exporter;
912µs*import = \&Exporter::import;
1012µs@EXPORT_OK = qw(md5 md5_hex md5_base64);
11
123101µseval {
13 require Digest::base;
14 push(@ISA, 'Digest::base');
15};
161300nsif ($@) {
17 my $err = $@;
18 *add_bits = sub { die $err };
19}
20
21
223280µseval {
23 require XSLoader;
241267µs XSLoader::load('Digest::MD5', $VERSION);
# spent 267µs making 1 call to XSLoader::load
25};
2623µ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 {
41 *reset = \&new;
42}
43
44113µs1;
45__END__
 
# spent 8µs within Digest::MD5::DESTROY which was called 3 times, avg 3µs/call: # 3 times (8µs+0s) by CGI::Session::ID::md5::generate_id at line 80 of CGI/Session.pm, avg 3µs/call
sub Digest::MD5::DESTROY; # xsub
# spent 55µs within Digest::MD5::add which was called 3 times, avg 18µs/call: # 3 times (55µs+0s) by CGI::Session::ID::md5::generate_id at line 15 of CGI/Session/ID/md5.pm, avg 18µs/call
sub Digest::MD5::add; # xsub
# spent 13µs within Digest::MD5::hexdigest which was called 3 times, avg 4µs/call: # 3 times (13µs+0s) by CGI::Session::ID::md5::generate_id at line 16 of CGI/Session/ID/md5.pm, avg 4µs/call
sub Digest::MD5::hexdigest; # xsub
# spent 36µs within Digest::MD5::new which was called 3 times, avg 12µs/call: # 3 times (36µ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