← Index
NYTProf Performance Profile   « line view »
For -e
  Run on Thu Jun 30 16:34:56 2016
Reported on Thu Jun 30 16:35:09 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 73.8ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
260002110.4ms10.4msDateTime::TimeZone::UTC::::is_utcDateTime::TimeZone::UTC::is_utc
13000115.70ms5.70msDateTime::TimeZone::UTC::::offset_for_local_datetimeDateTime::TimeZone::UTC::offset_for_local_datetime
11115µs17µsDateTime::TimeZone::UTC::::BEGIN@3DateTime::TimeZone::UTC::BEGIN@3
1119µs13µsDateTime::TimeZone::UTC::::BEGIN@4DateTime::TimeZone::UTC::BEGIN@4
1117µs32µsDateTime::TimeZone::UTC::::BEGIN@6DateTime::TimeZone::UTC::BEGIN@6
1113µs3µ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;
21300ns$DateTime::TimeZone::UTC::VERSION = '1.98';
3222µs219µs
# spent 17µs (15+2) within DateTime::TimeZone::UTC::BEGIN@3 which was called: # once (15µs+2µs) by DateTime::TimeZone::OffsetOnly::BEGIN@8 at line 3
use strict;
# spent 17µs making 1 call to DateTime::TimeZone::UTC::BEGIN@3 # spent 2µs making 1 call to strict::import
4224µs218µs
# spent 13µs (9+4) within DateTime::TimeZone::UTC::BEGIN@4 which was called: # once (9µs+4µs) by DateTime::TimeZone::OffsetOnly::BEGIN@8 at line 4
use warnings;
# spent 13µs making 1 call to DateTime::TimeZone::UTC::BEGIN@4 # spent 4µs making 1 call to warnings::import
5
62121µs232µs
# spent 32µs (7+25) within DateTime::TimeZone::UTC::BEGIN@6 which was called: # once (7µs+25µs) by DateTime::TimeZone::OffsetOnly::BEGIN@8 at line 6
use parent 'Class::Singleton', 'DateTime::TimeZone';
# spent 32µs making 1 call to DateTime::TimeZone::UTC::BEGIN@6 # spent 25µs making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 25µs
7
8sub new {
9 return shift->instance;
10}
11
12
# spent 3µs within DateTime::TimeZone::UTC::_new_instance which was called: # once (3µs+0s) by Class::Singleton::instance at line 56 of Class/Singleton.pm
sub _new_instance {
131300ns my $class = shift;
14
1515µs return bless { name => 'UTC' }, $class;
16}
17
18sub is_dst_for_datetime {0}
19
20sub offset_for_datetime {0}
211300028.3ms
# spent 5.70ms within DateTime::TimeZone::UTC::offset_for_local_datetime which was called 13000 times, avg 438ns/call: # 13000 times (5.70ms+0s) by DateTime::_offset_for_local_datetime at line 985 of DateTime.pm, avg 438ns/call
sub offset_for_local_datetime {0}
22
23sub short_name_for_datetime {'UTC'}
24
25sub category {undef}
26
272600045.2ms
# spent 10.4ms within DateTime::TimeZone::UTC::is_utc which was called 26000 times, avg 399ns/call: # 13000 times (6.13ms+0s) by DateTime::_calc_utc_rd at line 395 of DateTime.pm, avg 472ns/call # 13000 times (4.25ms+0s) by DateTime::_calc_local_rd at line 442 of DateTime.pm, avg 327ns/call
sub is_utc {1}
28
2913µs1;
30
31# ABSTRACT: The UTC time zone
32
33__END__