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

Filename/usr/lib/perl5/DateTime/Helpers.pm
StatementsExecuted 11 statements in 224µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11111µs11µsDateTime::Helpers::::BEGIN@2DateTime::Helpers::BEGIN@2
11110µs14µsDateTime::Helpers::::BEGIN@6DateTime::Helpers::BEGIN@6
1119µs21µsDateTime::Helpers::::BEGIN@7DateTime::Helpers::BEGIN@7
1115µs5µ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 11µs within DateTime::Helpers::BEGIN@2 which was called: # once (11µs+0s) by DateTime::BEGIN@12 at line 4
BEGIN {
317µs $DateTime::Helpers::VERSION = '0.61';
4123µs111µs}
# spent 11µs making 1 call to DateTime::Helpers::BEGIN@2
5
6325µs217µs
# spent 14µs (10+4) within DateTime::Helpers::BEGIN@6 which was called: # once (10µs+4µs) by DateTime::BEGIN@12 at line 6
use strict;
# spent 14µs making 1 call to DateTime::Helpers::BEGIN@6 # spent 4µs making 1 call to strict::import
7325µs233µs
# spent 21µs (9+12) within DateTime::Helpers::BEGIN@7 which was called: # once (9µs+12µs) by DateTime::BEGIN@12 at line 7
use warnings;
# spent 21µs making 1 call to DateTime::Helpers::BEGIN@7 # spent 12µs making 1 call to warnings::import
8
93141µs15µs
# spent 5µs within DateTime::Helpers::BEGIN@9 which was called: # once (5µs+0s) by DateTime::BEGIN@12 at line 9
use Scalar::Util ();
# spent 5µ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
2714µs1;