← Index
NYTProf Performance Profile   « line view »
For -e
  Run on Thu Jun 30 16:16:00 2016
Reported on Thu Jun 30 16:16:08 2016

Filename/home/s1/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/DateTime/TimeZone/UTC.pm
StatementsExecuted 39010 statements in 119ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
260002111.8ms11.8msDateTime::TimeZone::UTC::::is_utcDateTime::TimeZone::UTC::is_utc
13000116.37ms6.37msDateTime::TimeZone::UTC::::offset_for_local_datetimeDateTime::TimeZone::UTC::offset_for_local_datetime
11128µs31µsDateTime::TimeZone::UTC::::BEGIN@3DateTime::TimeZone::UTC::BEGIN@3
11113µs22µsDateTime::TimeZone::UTC::::BEGIN@4DateTime::TimeZone::UTC::BEGIN@4
11112µs58µsDateTime::TimeZone::UTC::::BEGIN@6DateTime::TimeZone::UTC::BEGIN@6
1114µs4µsDateTime::TimeZone::UTC::::_new_instanceDateTime::TimeZone::UTC::_new_instance
0000s0sDateTime::TimeZone::UTC::::categoryDateTime::TimeZone::UTC::category
0000s0sDateTime::TimeZone::UTC::::is_dst_for_datetimeDateTime::TimeZone::UTC::is_dst_for_datetime
0000s0sDateTime::TimeZone::UTC::::newDateTime::TimeZone::UTC::new
0000s0sDateTime::TimeZone::UTC::::offset_for_datetimeDateTime::TimeZone::UTC::offset_for_datetime
0000s0sDateTime::TimeZone::UTC::::short_name_for_datetimeDateTime::TimeZone::UTC::short_name_for_datetime
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::UTC;
21700ns$DateTime::TimeZone::UTC::VERSION = '1.98';
3250µs235µs
# spent 31µs (28+4) within DateTime::TimeZone::UTC::BEGIN@3 which was called: # once (28µs+4µs) by DateTime::TimeZone::OffsetOnly::BEGIN@8 at line 3
use strict;
# spent 31µs making 1 call to DateTime::TimeZone::UTC::BEGIN@3 # spent 4µs making 1 call to strict::import
4241µs230µs
# spent 22µs (13+8) within DateTime::TimeZone::UTC::BEGIN@4 which was called: # once (13µs+8µs) by DateTime::TimeZone::OffsetOnly::BEGIN@8 at line 4
use warnings;
# spent 22µs making 1 call to DateTime::TimeZone::UTC::BEGIN@4 # spent 8µs making 1 call to warnings::import
5
62211µs258µs
# spent 58µs (12+46) within DateTime::TimeZone::UTC::BEGIN@6 which was called: # once (12µs+46µs) by DateTime::TimeZone::OffsetOnly::BEGIN@8 at line 6
use parent 'Class::Singleton', 'DateTime::TimeZone';
# spent 58µs making 1 call to DateTime::TimeZone::UTC::BEGIN@6 # spent 46µs making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 46µs
7
8sub new {
9 return shift->instance;
10}
11
12
# spent 4µs within DateTime::TimeZone::UTC::_new_instance which was called: # once (4µs+0s) by Class::Singleton::instance at line 56 of Class/Singleton.pm
sub _new_instance {
131500ns my $class = shift;
14
1517µs return bless { name => 'UTC' }, $class;
16}
17
18sub is_dst_for_datetime {0}
19
20sub offset_for_datetime {0}
211300046.2ms
# spent 6.37ms within DateTime::TimeZone::UTC::offset_for_local_datetime which was called 13000 times, avg 490ns/call: # 13000 times (6.37ms+0s) by DateTime::_offset_for_local_datetime at line 985 of DateTime.pm, avg 490ns/call
sub offset_for_local_datetime {0}
22
23sub short_name_for_datetime {'UTC'}
24
25sub category {undef}
26
272600072.5ms
# spent 11.8ms within DateTime::TimeZone::UTC::is_utc which was called 26000 times, avg 453ns/call: # 13000 times (6.72ms+0s) by DateTime::_calc_utc_rd at line 395 of DateTime.pm, avg 517ns/call # 13000 times (5.05ms+0s) by DateTime::_calc_local_rd at line 442 of DateTime.pm, avg 389ns/call
sub is_utc {1}
28
2915µs1;
30
31# ABSTRACT: The UTC time zone
32
33__END__