← Index
NYTProf Performance Profile   « block view • line view • sub view »
For mentat.storage.mongo.pl
  Run on Tue Jun 24 10:04:38 2014
Reported on Tue Jun 24 10:05:06 2014

Filename/usr/local/share/perl/5.14.2/DateTime/TimeZone/UTC.pm
StatementsExecuted 15 statements in 209µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11110µs10µsDateTime::TimeZone::UTC::::_new_instanceDateTime::TimeZone::UTC::_new_instance
1118µs8µsDateTime::TimeZone::UTC::::BEGIN@5DateTime::TimeZone::UTC::BEGIN@5
1116µs11µsDateTime::TimeZone::UTC::::BEGIN@10DateTime::TimeZone::UTC::BEGIN@10
1116µs9µsDateTime::TimeZone::UTC::::BEGIN@9DateTime::TimeZone::UTC::BEGIN@9
1116µs31µsDateTime::TimeZone::UTC::::BEGIN@12DateTime::TimeZone::UTC::BEGIN@12
2212µs2µsDateTime::TimeZone::UTC::::is_utcDateTime::TimeZone::UTC::is_utc
1111µs1µsDateTime::TimeZone::UTC::::offset_for_local_datetimeDateTime::TimeZone::UTC::offset_for_local_datetime
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;
2{
321µs $DateTime::TimeZone::UTC::VERSION = '1.63';
4}
5
# spent 8µs within DateTime::TimeZone::UTC::BEGIN@5 which was called: # once (8µs+0s) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 7
BEGIN {
618µs $DateTime::TimeZone::UTC::AUTHORITY = 'cpan:DROLSKY';
7119µs18µs}
# spent 8µs making 1 call to DateTime::TimeZone::UTC::BEGIN@5
8
9220µs212µs
# spent 9µs (6+3) within DateTime::TimeZone::UTC::BEGIN@9 which was called: # once (6µs+3µs) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 9
use strict;
# spent 9µs making 1 call to DateTime::TimeZone::UTC::BEGIN@9 # spent 3µs making 1 call to strict::import
10223µs215µs
# spent 11µs (6+5) within DateTime::TimeZone::UTC::BEGIN@10 which was called: # once (6µs+5µs) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 10
use warnings;
# spent 11µs making 1 call to DateTime::TimeZone::UTC::BEGIN@10 # spent 4µs making 1 call to warnings::import
11
122117µs231µs
# spent 31µs (6+25) within DateTime::TimeZone::UTC::BEGIN@12 which was called: # once (6µs+25µs) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 12
use parent 'Class::Singleton', 'DateTime::TimeZone';
# spent 31µs making 1 call to DateTime::TimeZone::UTC::BEGIN@12 # spent 25µs making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 25µs
13
14sub new {
15 return shift->instance;
16}
17
18
# spent 10µs within DateTime::TimeZone::UTC::_new_instance which was called: # once (10µs+0s) by Class::Singleton::instance at line 58 of Class/Singleton.pm
sub _new_instance {
19211µs my $class = shift;
20
21 return bless { name => 'UTC' }, $class;
22}
23
24sub is_dst_for_datetime {0}
25
26sub offset_for_datetime {0}
2713µs
# spent 1µs within DateTime::TimeZone::UTC::offset_for_local_datetime which was called: # once (1µs+0s) by DateTime::_offset_for_local_datetime at line 946 of DateTime.pm
sub offset_for_local_datetime {0}
28
29sub short_name_for_datetime {'UTC'}
30
31sub category {undef}
32
3325µs
# spent 2µs within DateTime::TimeZone::UTC::is_utc which was called 2 times, avg 900ns/call: # once (1µs+0s) by DateTime::_calc_utc_rd at line 386 of DateTime.pm # once (600ns+0s) by DateTime::_calc_local_rd at line 427 of DateTime.pm
sub is_utc {1}
34
3512µs1;
36
37# ABSTRACT: The UTC time zone
38
39__END__