← Index
NYTProf Performance Profile   « block view • line view • sub view »
For mentat.storage.mongo.pl
  Run on Tue Jun 24 09:58:41 2014
Reported on Tue Jun 24 09:59:29 2014

Filename/usr/local/share/perl/5.14.2/DateTime/TimeZone/UTC.pm
StatementsExecuted 15 statements in 478µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11118µs18µsDateTime::TimeZone::UTC::::_new_instanceDateTime::TimeZone::UTC::_new_instance
11117µs17µsDateTime::TimeZone::UTC::::BEGIN@5DateTime::TimeZone::UTC::BEGIN@5
11115µs21µsDateTime::TimeZone::UTC::::BEGIN@9DateTime::TimeZone::UTC::BEGIN@9
11115µs72µsDateTime::TimeZone::UTC::::BEGIN@12DateTime::TimeZone::UTC::BEGIN@12
11114µs25µsDateTime::TimeZone::UTC::::BEGIN@10DateTime::TimeZone::UTC::BEGIN@10
2214µs4µsDateTime::TimeZone::UTC::::is_utcDateTime::TimeZone::UTC::is_utc
1112µs2µ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{
323µs $DateTime::TimeZone::UTC::VERSION = '1.63';
4}
5
# spent 17µs within DateTime::TimeZone::UTC::BEGIN@5 which was called: # once (17µs+0s) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 7
BEGIN {
6118µs $DateTime::TimeZone::UTC::AUTHORITY = 'cpan:DROLSKY';
7144µs117µs}
# spent 17µs making 1 call to DateTime::TimeZone::UTC::BEGIN@5
8
9245µs227µs
# spent 21µs (15+6) within DateTime::TimeZone::UTC::BEGIN@9 which was called: # once (15µs+6µs) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 9
use strict;
# spent 21µs making 1 call to DateTime::TimeZone::UTC::BEGIN@9 # spent 6µs making 1 call to strict::import
10252µs235µs
# spent 25µs (14+10) within DateTime::TimeZone::UTC::BEGIN@10 which was called: # once (14µs+10µs) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 10
use warnings;
# spent 25µs making 1 call to DateTime::TimeZone::UTC::BEGIN@10 # spent 10µs making 1 call to warnings::import
11
122272µs272µs
# spent 72µs (15+57) within DateTime::TimeZone::UTC::BEGIN@12 which was called: # once (15µs+57µs) by DateTime::TimeZone::OffsetOnly::BEGIN@14 at line 12
use parent 'Class::Singleton', 'DateTime::TimeZone';
# spent 72µs making 1 call to DateTime::TimeZone::UTC::BEGIN@12 # spent 57µs making 1 call to parent::import, recursion: max depth 1, sum of overlapping time 57µs
13
14sub new {
15 return shift->instance;
16}
17
18
# spent 18µs within DateTime::TimeZone::UTC::_new_instance which was called: # once (18µs+0s) by Class::Singleton::instance at line 58 of Class/Singleton.pm
sub _new_instance {
191800ns my $class = shift;
20
21121µs return bless { name => 'UTC' }, $class;
22}
23
24sub is_dst_for_datetime {0}
25
26sub offset_for_datetime {0}
2716µs
# spent 2µs within DateTime::TimeZone::UTC::offset_for_local_datetime which was called: # once (2µ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
33210µs
# spent 4µs within DateTime::TimeZone::UTC::is_utc which was called 2 times, avg 2µs/call: # once (2µs+0s) by DateTime::_calc_utc_rd at line 386 of DateTime.pm # once (2µs+0s) by DateTime::_calc_local_rd at line 427 of DateTime.pm
sub is_utc {1}
34
3516µs1;
36
37# ABSTRACT: The UTC time zone
38
39__END__