← 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:05 2013

Filename/usr/lib/perl5/DateTime/Helpers.pm
StatementsExecuted 11 statements in 203µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11113µs34µsDateTime::Helpers::::BEGIN@7DateTime::Helpers::BEGIN@7
11110µs10µsDateTime::Helpers::::BEGIN@2DateTime::Helpers::BEGIN@2
1119µs12µsDateTime::Helpers::::BEGIN@6DateTime::Helpers::BEGIN@6
1116µs6µsDateTime::Helpers::::BEGIN@9DateTime::Helpers::BEGIN@9
0000s0sDateTime::Helpers::::canDateTime::Helpers::can
0000s0sDateTime::Helpers::::isaDateTime::Helpers::isa
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package DateTime::Helpers;
2
# spent 10µs within DateTime::Helpers::BEGIN@2 which was called: # once (10µs+0s) by DateTime::BEGIN@12 at line 4
BEGIN {
316µs $DateTime::Helpers::VERSION = '0.61';
4121µs110µs}
# spent 10µs making 1 call to DateTime::Helpers::BEGIN@2
5
6323µs216µs
# spent 12µs (9+4) within DateTime::Helpers::BEGIN@6 which was called: # once (9µs+4µs) by DateTime::BEGIN@12 at line 6
use strict;
# spent 12µs making 1 call to DateTime::Helpers::BEGIN@6 # spent 4µs making 1 call to strict::import
7338µs254µs
# spent 34µs (13+20) within DateTime::Helpers::BEGIN@7 which was called: # once (13µs+20µs) by DateTime::BEGIN@12 at line 7
use warnings;
# spent 34µs making 1 call to DateTime::Helpers::BEGIN@7 # spent 20µs making 1 call to warnings::import
8
93113µs16µs
# spent 6µs within DateTime::Helpers::BEGIN@9 which was called: # once (6µs+0s) by DateTime::BEGIN@12 at line 9
use Scalar::Util ();
# spent 6µs making 1 call to DateTime::Helpers::BEGIN@9
10
11sub can {
12 my $object = shift;
13 my $method = shift;
14
15 return unless Scalar::Util::blessed($object);
16 return $object->can($method);
17}
18
19sub isa {
20 my $object = shift;
21 my $method = shift;
22
23 return unless Scalar::Util::blessed($object);
24 return $object->isa($method);
25}
26
2712µs1;