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

Filename/usr/share/perl5/DateTime/TimeZone/Floating.pm
StatementsExecuted 22 statements in 332µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
21140µs40µsDateTime::TimeZone::Floating::::newDateTime::TimeZone::Floating::new
11133µs43µsDateTime::TimeZone::Floating::::BEGIN@3DateTime::TimeZone::Floating::BEGIN@3
11113µs66µsDateTime::TimeZone::Floating::::BEGIN@5DateTime::TimeZone::Floating::BEGIN@5
11111µs3.16msDateTime::TimeZone::Floating::::BEGIN@9DateTime::TimeZone::Floating::BEGIN@9
11110µs10µsDateTime::TimeZone::Floating::::BEGIN@8DateTime::TimeZone::Floating::BEGIN@8
4215µs5µ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
3351µs252µs
# spent 43µs (33+10) within DateTime::TimeZone::Floating::BEGIN@3 which was called: # once (33µs+10µs) by DateTime::TimeZone::BEGIN@11 at line 3
use strict;
# spent 43µs making 1 call to DateTime::TimeZone::Floating::BEGIN@3 # spent 10µs making 1 call to strict::import
4
5340µs2119µs
# spent 66µs (13+53) within DateTime::TimeZone::Floating::BEGIN@5 which was called: # once (13µs+53µs) by DateTime::TimeZone::BEGIN@11 at line 5
use vars qw ($VERSION @ISA);
# spent 66µs making 1 call to DateTime::TimeZone::Floating::BEGIN@5 # spent 53µs making 1 call to vars::import
61600ns$VERSION = 0.01;
7
8332µs110µs
# spent 10µs within DateTime::TimeZone::Floating::BEGIN@8 which was called: # once (10µs+0s) by DateTime::TimeZone::BEGIN@11 at line 8
use DateTime::TimeZone;
# spent 10µs making 1 call to DateTime::TimeZone::Floating::BEGIN@8
93151µs26.32ms
# spent 3.16ms (11µs+3.15) within DateTime::TimeZone::Floating::BEGIN@9 which was called: # once (11µs+3.15ms) by DateTime::TimeZone::BEGIN@11 at line 9
use base 'DateTime::TimeZone::OffsetOnly';
# spent 3.16ms making 1 call to DateTime::TimeZone::Floating::BEGIN@9 # spent 3.15ms making 1 call to base::import
10
11
# spent 40µs within DateTime::TimeZone::Floating::new which was called 2 times, avg 20µs/call: # 2 times (40µs+0s) by DateTime::TimeZone::new at line 48 of DateTime/TimeZone.pm, avg 20µs/call
sub new {
1223µs my $class = shift;
13
14240µs return bless {
15 name => 'floating',
16 offset => 0
17 }, $class;
18}
19
20410µs
# spent 5µs within DateTime::TimeZone::Floating::is_floating which was called 4 times, avg 1µs/call: # 2 times (3µs+0s) by DateTime::_calc_utc_rd at line 343 of DateTime.pm, avg 2µs/call # 2 times (2µs+0s) by DateTime::_calc_local_rd at line 384 of DateTime.pm, avg 1µ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
4214µs1;
43
44__END__