← 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:12:52 2013

Filename/usr/share/perl5/CGI/Session/ID/md5.pm
StatementsExecuted 22 statements in 461µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
311130µs229µsCGI::Session::ID::md5::::generate_idCGI::Session::ID::md5::generate_id
11120µs25µsCGI::Session::ID::md5::::BEGIN@5CGI::Session::ID::md5::BEGIN@5
11117µs57µsCGI::Session::ID::md5::::BEGIN@6CGI::Session::ID::md5::BEGIN@6
11110µs13µsCGI::Session::ID::md5::::BEGIN@7CGI::Session::ID::md5::BEGIN@7
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package CGI::Session::ID::md5;
2
3# $Id: md5.pm 420 2008-07-08 01:23:06Z markstos $
4
5330µs229µs
# spent 25µs (20+4) within CGI::Session::ID::md5::BEGIN@5 which was called: # once (20µs+4µs) by CGI::Session::_load_pluggables at line 5
use strict;
# spent 25µs making 1 call to CGI::Session::ID::md5::BEGIN@5 # spent 4µs making 1 call to strict::import
6335µs298µs
# spent 57µs (17+40) within CGI::Session::ID::md5::BEGIN@6 which was called: # once (17µs+40µs) by CGI::Session::_load_pluggables at line 6
use Digest::MD5;
# spent 57µs making 1 call to CGI::Session::ID::md5::BEGIN@6 # spent 40µs making 1 call to Exporter::import
73146µs215µs
# spent 13µs (10+3) within CGI::Session::ID::md5::BEGIN@7 which was called: # once (10µs+3µs) by CGI::Session::_load_pluggables at line 7
use CGI::Session::ErrorHandler;
# spent 13µs making 1 call to CGI::Session::ID::md5::BEGIN@7 # spent 3µs making 1 call to UNIVERSAL::import
8
91800ns$CGI::Session::ID::md5::VERSION = '4.33';
10111µs@CGI::Session::ID::md5::ISA = qw( CGI::Session::ErrorHandler );
11
1212µs*generate = \&generate_id;
13
# spent 229µs (130+99) within CGI::Session::ID::md5::generate_id which was called 3 times, avg 76µs/call: # 3 times (130µs+99µs) by CGI::Session::new at line 80 of CGI/Session.pm, avg 76µs/call
sub generate_id {
14366µs335µs my $md5 = new Digest::MD5();
# spent 35µs making 3 calls to Digest::MD5::new, avg 12µs/call
153102µs347µs $md5->add($$ , time() , rand(time) );
# spent 47µs making 3 calls to Digest::MD5::add, avg 16µs/call
16364µs310µs return $md5->hexdigest();
# spent 10µs making 3 calls to Digest::MD5::hexdigest, avg 3µs/call
17}
18
19
2014µs1;
21
22=pod
23
- -