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

Filename/usr/share/perl5/DateTime/TimeZone/Floating.pm
StatementsExecuted 22 statements in 519µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11135µs48µsDateTime::TimeZone::Floating::::BEGIN@3DateTime::TimeZone::Floating::BEGIN@3
21129µs29µsDateTime::TimeZone::Floating::::newDateTime::TimeZone::Floating::new
11119µs129µsDateTime::TimeZone::Floating::::BEGIN@5DateTime::TimeZone::Floating::BEGIN@5
11119µs4.90msDateTime::TimeZone::Floating::::BEGIN@9DateTime::TimeZone::Floating::BEGIN@9
11118µs18µsDateTime::TimeZone::Floating::::BEGIN@8DateTime::TimeZone::Floating::BEGIN@8
42111µs11µsDateTime::TimeZone::Floating::::is_floatingDateTime::TimeZone::Floating::is_floating
0000s0sDateTime::TimeZone::Floating::::STORABLE_thawDateTime::TimeZone::Floating::STORABLE_thaw
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package DateTime::TimeZone::Floating;
2
3368µs260µs
# spent 48µs (35+13) within DateTime::TimeZone::Floating::BEGIN@3 which was called: # once (35µs+13µs) by DateTime::TimeZone::BEGIN@11 at line 3
use strict;
# spent 48µs making 1 call to DateTime::TimeZone::Floating::BEGIN@3 # spent 13µs making 1 call to strict::import
4
5379µs2239µs
# spent 129µs (19+110) within DateTime::TimeZone::Floating::BEGIN@5 which was called: # once (19µs+110µs) by DateTime::TimeZone::BEGIN@11 at line 5
use vars qw ($VERSION @ISA);
# spent 129µs making 1 call to DateTime::TimeZone::Floating::BEGIN@5 # spent 110µs making 1 call to vars::import
611µs$VERSION = 0.01;
7
8364µs118µs
# spent 18µs within DateTime::TimeZone::Floating::BEGIN@8 which was called: # once (18µs+0s) by DateTime::TimeZone::BEGIN@11 at line 8
use DateTime::TimeZone;
# spent 18µs making 1 call to DateTime::TimeZone::Floating::BEGIN@8
93255µs29.79ms
# spent 4.90ms (19µs+4.88) within DateTime::TimeZone::Floating::BEGIN@9 which was called: # once (19µs+4.88ms) by DateTime::TimeZone::BEGIN@11 at line 9
use base 'DateTime::TimeZone::OffsetOnly';
# spent 4.90ms making 1 call to DateTime::TimeZone::Floating::BEGIN@9 # spent 4.88ms making 1 call to base::import
10
11
# spent 29µs within DateTime::TimeZone::Floating::new which was called 2 times, avg 14µs/call: # 2 times (29µs+0s) by DateTime::TimeZone::new at line 48 of DateTime/TimeZone.pm, avg 14µs/call
sub new {
12432µs my $class = shift;
13
14 return bless {
15 name => 'floating',
16 offset => 0
17 }, $class;
18}
19
20416µs
# spent 11µs within DateTime::TimeZone::Floating::is_floating which was called 4 times, avg 3µs/call: # 2 times (6µs+0s) by DateTime::_calc_utc_rd at line 343 of DateTime.pm, avg 3µs/call # 2 times (4µs+0s) by DateTime::_calc_local_rd at line 384 of DateTime.pm, avg 2µs/call
sub is_floating {1}
21
22sub STORABLE_thaw {
23 my $self = shift;
24 my $cloning = shift;
25 my $serialized = shift;
26
27 my $class = ref $self || $self;
28
29 my $obj;
30 if ( $class->isa(__PACKAGE__) ) {
31 $obj = __PACKAGE__->new();
32 }
33 else {
34 $obj = $class->new();
35 }
36
37 %$self = %$obj;
38
39 return $self;
40}
41
4215µs1;
43
44__END__