← Index
NYTProf Performance Profile   « line view »
For svc/members/upsert
  Run on Tue Jan 13 11:50:22 2015
Reported on Tue Jan 13 12:09:48 2015

Filename/usr/share/perl5/DateTime/Locale/root.pm
StatementsExecuted 137 statements in 1.98ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11111µs20µsDateTime::Locale::root::::BEGIN@21DateTime::Locale::root::BEGIN@21
1119µs59µsDateTime::Locale::root::::BEGIN@25DateTime::Locale::root::BEGIN@25
1116µs10µsDateTime::Locale::root::::BEGIN@22DateTime::Locale::root::BEGIN@22
1116µs7µsDateTime::Locale::root::::BEGIN@23DateTime::Locale::root::BEGIN@23
111900ns900nsDateTime::Locale::root::::_default_date_format_lengthDateTime::Locale::root::_default_date_format_length
111600ns600nsDateTime::Locale::root::::_default_time_format_lengthDateTime::Locale::root::_default_time_format_length
0000s0sDateTime::Locale::root::::_available_formatsDateTime::Locale::root::_available_formats
0000s0sDateTime::Locale::root::::_format_for_EEEdDateTime::Locale::root::_format_for_EEEd
0000s0sDateTime::Locale::root::::_format_for_HmDateTime::Locale::root::_format_for_Hm
0000s0sDateTime::Locale::root::::_format_for_HmsDateTime::Locale::root::_format_for_Hms
0000s0sDateTime::Locale::root::::_format_for_MDateTime::Locale::root::_format_for_M
0000s0sDateTime::Locale::root::::_format_for_MEdDateTime::Locale::root::_format_for_MEd
0000s0sDateTime::Locale::root::::_format_for_MMMDateTime::Locale::root::_format_for_MMM
0000s0sDateTime::Locale::root::::_format_for_MMMEdDateTime::Locale::root::_format_for_MMMEd
0000s0sDateTime::Locale::root::::_format_for_MMMMEdDateTime::Locale::root::_format_for_MMMMEd
0000s0sDateTime::Locale::root::::_format_for_MMMMdDateTime::Locale::root::_format_for_MMMMd
0000s0sDateTime::Locale::root::::_format_for_MMMdDateTime::Locale::root::_format_for_MMMd
0000s0sDateTime::Locale::root::::_format_for_MdDateTime::Locale::root::_format_for_Md
0000s0sDateTime::Locale::root::::_format_for_dDateTime::Locale::root::_format_for_d
0000s0sDateTime::Locale::root::::_format_for_hmDateTime::Locale::root::_format_for_hm
0000s0sDateTime::Locale::root::::_format_for_hmsDateTime::Locale::root::_format_for_hms
0000s0sDateTime::Locale::root::::_format_for_msDateTime::Locale::root::_format_for_ms
0000s0sDateTime::Locale::root::::_format_for_yDateTime::Locale::root::_format_for_y
0000s0sDateTime::Locale::root::::_format_for_yMDateTime::Locale::root::_format_for_yM
0000s0sDateTime::Locale::root::::_format_for_yMEdDateTime::Locale::root::_format_for_yMEd
0000s0sDateTime::Locale::root::::_format_for_yMMMDateTime::Locale::root::_format_for_yMMM
0000s0sDateTime::Locale::root::::_format_for_yMMMEdDateTime::Locale::root::_format_for_yMMMEd
0000s0sDateTime::Locale::root::::_format_for_yMMMMDateTime::Locale::root::_format_for_yMMMM
0000s0sDateTime::Locale::root::::_format_for_yQDateTime::Locale::root::_format_for_yQ
0000s0sDateTime::Locale::root::::_format_for_yQQQDateTime::Locale::root::_format_for_yQQQ
0000s0sDateTime::Locale::root::::am_pm_abbreviatedDateTime::Locale::root::am_pm_abbreviated
0000s0sDateTime::Locale::root::::cldr_versionDateTime::Locale::root::cldr_version
0000s0sDateTime::Locale::root::::date_format_fullDateTime::Locale::root::date_format_full
0000s0sDateTime::Locale::root::::date_format_longDateTime::Locale::root::date_format_long
0000s0sDateTime::Locale::root::::date_format_mediumDateTime::Locale::root::date_format_medium
0000s0sDateTime::Locale::root::::date_format_shortDateTime::Locale::root::date_format_short
0000s0sDateTime::Locale::root::::datetime_formatDateTime::Locale::root::datetime_format
0000s0sDateTime::Locale::root::::day_format_abbreviatedDateTime::Locale::root::day_format_abbreviated
0000s0sDateTime::Locale::root::::day_format_narrowDateTime::Locale::root::day_format_narrow
0000s0sDateTime::Locale::root::::day_format_wideDateTime::Locale::root::day_format_wide
0000s0sDateTime::Locale::root::::day_stand_alone_abbreviatedDateTime::Locale::root::day_stand_alone_abbreviated
0000s0sDateTime::Locale::root::::day_stand_alone_narrowDateTime::Locale::root::day_stand_alone_narrow
0000s0sDateTime::Locale::root::::day_stand_alone_wideDateTime::Locale::root::day_stand_alone_wide
0000s0sDateTime::Locale::root::::era_abbreviatedDateTime::Locale::root::era_abbreviated
0000s0sDateTime::Locale::root::::era_narrowDateTime::Locale::root::era_narrow
0000s0sDateTime::Locale::root::::era_wideDateTime::Locale::root::era_wide
0000s0sDateTime::Locale::root::::first_day_of_weekDateTime::Locale::root::first_day_of_week
0000s0sDateTime::Locale::root::::glibc_date_1_formatDateTime::Locale::root::glibc_date_1_format
0000s0sDateTime::Locale::root::::glibc_date_formatDateTime::Locale::root::glibc_date_format
0000s0sDateTime::Locale::root::::glibc_datetime_formatDateTime::Locale::root::glibc_datetime_format
0000s0sDateTime::Locale::root::::glibc_time_12_formatDateTime::Locale::root::glibc_time_12_format
0000s0sDateTime::Locale::root::::glibc_time_formatDateTime::Locale::root::glibc_time_format
0000s0sDateTime::Locale::root::::month_format_abbreviatedDateTime::Locale::root::month_format_abbreviated
0000s0sDateTime::Locale::root::::month_format_narrowDateTime::Locale::root::month_format_narrow
0000s0sDateTime::Locale::root::::month_format_wideDateTime::Locale::root::month_format_wide
0000s0sDateTime::Locale::root::::month_stand_alone_abbreviatedDateTime::Locale::root::month_stand_alone_abbreviated
0000s0sDateTime::Locale::root::::month_stand_alone_narrowDateTime::Locale::root::month_stand_alone_narrow
0000s0sDateTime::Locale::root::::month_stand_alone_wideDateTime::Locale::root::month_stand_alone_wide
0000s0sDateTime::Locale::root::::quarter_format_abbreviatedDateTime::Locale::root::quarter_format_abbreviated
0000s0sDateTime::Locale::root::::quarter_format_narrowDateTime::Locale::root::quarter_format_narrow
0000s0sDateTime::Locale::root::::quarter_format_wideDateTime::Locale::root::quarter_format_wide
0000s0sDateTime::Locale::root::::quarter_stand_alone_abbreviatedDateTime::Locale::root::quarter_stand_alone_abbreviated
0000s0sDateTime::Locale::root::::quarter_stand_alone_narrowDateTime::Locale::root::quarter_stand_alone_narrow
0000s0sDateTime::Locale::root::::quarter_stand_alone_wideDateTime::Locale::root::quarter_stand_alone_wide
0000s0sDateTime::Locale::root::::time_format_fullDateTime::Locale::root::time_format_full
0000s0sDateTime::Locale::root::::time_format_longDateTime::Locale::root::time_format_long
0000s0sDateTime::Locale::root::::time_format_mediumDateTime::Locale::root::time_format_medium
0000s0sDateTime::Locale::root::::time_format_shortDateTime::Locale::root::time_format_short
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1###########################################################################
2#
3# This file is auto-generated by the Perl DateTime Suite locale
4# generator (0.05). This code generator comes with the
5# DateTime::Locale distribution in the tools/ directory, and is called
6# generate-from-cldr.
7#
8# This file as generated from the CLDR XML locale data. See the
9# LICENSE.cldr file included in this distribution for license details.
10#
11# This file was generated from the source file root.xml
12# The source file version number was 1.192, generated on
13# 2009/06/15 21:39:59.
14#
15# Do not edit this file directly.
16#
17###########################################################################
18
19package DateTime::Locale::root;
20
21221µs230µs
# spent 20µs (11+10) within DateTime::Locale::root::BEGIN@21 which was called: # once (11µs+10µs) by base::import at line 21
use strict;
# spent 20µs making 1 call to DateTime::Locale::root::BEGIN@21 # spent 10µs making 1 call to strict::import
22217µs214µs
# spent 10µs (6+4) within DateTime::Locale::root::BEGIN@22 which was called: # once (6µs+4µs) by base::import at line 22
use warnings;
# spent 10µs making 1 call to DateTime::Locale::root::BEGIN@22 # spent 4µs making 1 call to warnings::import
23224µs28µs
# spent 7µs (6+1) within DateTime::Locale::root::BEGIN@23 which was called: # once (6µs+1µs) by base::import at line 23
use utf8;
# spent 7µs making 1 call to DateTime::Locale::root::BEGIN@23 # spent 1µs making 1 call to utf8::import
24
2521.85ms259µs
# spent 59µs (9+49) within DateTime::Locale::root::BEGIN@25 which was called: # once (9µs+49µs) by base::import at line 25
use base 'DateTime::Locale::Base';
# spent 59µs making 1 call to DateTime::Locale::root::BEGIN@25 # spent 49µs making 1 call to base::import, recursion: max depth 2, sum of overlapping time 49µs
26
27sub cldr_version { return "1\.7\.1" }
28
29{
3022µs my $am_pm_abbreviated = [ "AM", "PM" ];
31 sub am_pm_abbreviated { return $am_pm_abbreviated }
32}
33{
342400ns my $date_format_full = "EEEE\,\ y\ MMMM\ dd";
35 sub date_format_full { return $date_format_full }
36}
37
38{
392200ns my $date_format_long = "y\ MMMM\ d";
40 sub date_format_long { return $date_format_long }
41}
42
43{
442300ns my $date_format_medium = "y\ MMM\ d";
45 sub date_format_medium { return $date_format_medium }
46}
47
48{
492200ns my $date_format_short = "yyyy\-MM\-dd";
50 sub date_format_short { return $date_format_short }
51}
52
53{
542300ns my $datetime_format = "\{1\}\ \{0\}";
55 sub datetime_format { return $datetime_format }
56}
57
58{
592800ns my $day_format_abbreviated = [ "2", "3", "4", "5", "6", "7", "1" ];
60 sub day_format_abbreviated { return $day_format_abbreviated }
61}
62{
632900ns my $day_format_narrow = [ "2", "3", "4", "5", "6", "7", "1" ];
64 sub day_format_narrow { return $day_format_narrow }
65}
66{
672600ns my $day_format_wide = [ "2", "3", "4", "5", "6", "7", "1" ];
68 sub day_format_wide { return $day_format_wide }
69}
70{
712600ns my $day_stand_alone_abbreviated = [ "2", "3", "4", "5", "6", "7", "1" ];
72 sub day_stand_alone_abbreviated { return $day_stand_alone_abbreviated }
73}
74{
752500ns my $day_stand_alone_narrow = [ "2", "3", "4", "5", "6", "7", "1" ];
76 sub day_stand_alone_narrow { return $day_stand_alone_narrow }
77}
78{
792700ns my $day_stand_alone_wide = [ "2", "3", "4", "5", "6", "7", "1" ];
80 sub day_stand_alone_wide { return $day_stand_alone_wide }
81}
82{
832500ns my $era_abbreviated = [ "BCE", "CE" ];
84 sub era_abbreviated { return $era_abbreviated }
85}
86{
872600ns my $era_narrow = [ "BCE", "CE" ];
88 sub era_narrow { return $era_narrow }
89}
90{
912400ns my $era_wide = [ "BCE", "CE" ];
92 sub era_wide { return $era_wide }
93}
94{
952300ns my $first_day_of_week = "1";
96 sub first_day_of_week { return $first_day_of_week }
97}
98
99{
1002800ns my $month_format_abbreviated = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
101 sub month_format_abbreviated { return $month_format_abbreviated }
102}
103{
1042900ns my $month_format_narrow = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
105 sub month_format_narrow { return $month_format_narrow }
106}
107{
1082600ns my $month_format_wide = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
109 sub month_format_wide { return $month_format_wide }
110}
111{
1122800ns my $month_stand_alone_abbreviated = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
113 sub month_stand_alone_abbreviated { return $month_stand_alone_abbreviated }
114}
115{
1162900ns my $month_stand_alone_narrow = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
117 sub month_stand_alone_narrow { return $month_stand_alone_narrow }
118}
119{
1202700ns my $month_stand_alone_wide = [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ];
121 sub month_stand_alone_wide { return $month_stand_alone_wide }
122}
123{
1242300ns my $quarter_format_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ];
125 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
126}
127{
1282600ns my $quarter_format_narrow = [ "1", "2", "3", "4" ];
129 sub quarter_format_narrow { return $quarter_format_narrow }
130}
131{
1322600ns my $quarter_format_wide = [ "Q1", "Q2", "Q3", "Q4" ];
133 sub quarter_format_wide { return $quarter_format_wide }
134}
135{
1362500ns my $quarter_stand_alone_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ];
137 sub quarter_stand_alone_abbreviated { return $quarter_stand_alone_abbreviated }
138}
139{
1402300ns my $quarter_stand_alone_narrow = [ "1", "2", "3", "4" ];
141 sub quarter_stand_alone_narrow { return $quarter_stand_alone_narrow }
142}
143{
14422µs my $quarter_stand_alone_wide = [ "Q1", "Q2", "Q3", "Q4" ];
145 sub quarter_stand_alone_wide { return $quarter_stand_alone_wide }
146}
147{
1482200ns my $time_format_full = "HH\:mm\:ss\ zzzz";
149 sub time_format_full { return $time_format_full }
150}
151
152{
1532200ns my $time_format_long = "HH\:mm\:ss\ z";
154 sub time_format_long { return $time_format_long }
155}
156
157{
1582200ns my $time_format_medium = "HH\:mm\:ss";
159 sub time_format_medium { return $time_format_medium }
160}
161
162{
1632200ns my $time_format_short = "HH\:mm";
164 sub time_format_short { return $time_format_short }
165}
166
167{
1682200ns my $_default_date_format_length = "medium";
16914µs
# spent 900ns within DateTime::Locale::root::_default_date_format_length which was called: # once (900ns+0s) by DateTime::Locale::Base::new at line 35 of DateTime/Locale/Base.pm
sub _default_date_format_length { return $_default_date_format_length }
170}
171
172{
1732100ns my $_default_time_format_length = "medium";
17412µs
# spent 600ns within DateTime::Locale::root::_default_time_format_length which was called: # once (600ns+0s) by DateTime::Locale::Base::new at line 35 of DateTime/Locale/Base.pm
sub _default_time_format_length { return $_default_time_format_length }
175}
176
177{
1782300ns my $_format_for_EEEd = "d\ EEE";
179 sub _format_for_EEEd { return $_format_for_EEEd }
180}
181
182{
1832300ns my $_format_for_Hm = "H\:mm";
184 sub _format_for_Hm { return $_format_for_Hm }
185}
186
187{
1882300ns my $_format_for_Hms = "H\:mm\:ss";
189 sub _format_for_Hms { return $_format_for_Hms }
190}
191
192{
1932300ns my $_format_for_M = "L";
194 sub _format_for_M { return $_format_for_M }
195}
196
197{
1982200ns my $_format_for_MEd = "E\,\ M\-d";
199 sub _format_for_MEd { return $_format_for_MEd }
200}
201
202{
2032200ns my $_format_for_MMM = "LLL";
204 sub _format_for_MMM { return $_format_for_MMM }
205}
206
207{
2082200ns my $_format_for_MMMEd = "E\ MMM\ d";
209 sub _format_for_MMMEd { return $_format_for_MMMEd }
210}
211
212{
2132300ns my $_format_for_MMMMEd = "E\ MMMM\ d";
214 sub _format_for_MMMMEd { return $_format_for_MMMMEd }
215}
216
217{
2182400ns my $_format_for_MMMMd = "MMMM\ d";
219 sub _format_for_MMMMd { return $_format_for_MMMMd }
220}
221
222{
2232300ns my $_format_for_MMMd = "MMM\ d";
224 sub _format_for_MMMd { return $_format_for_MMMd }
225}
226
227{
2282300ns my $_format_for_Md = "M\-d";
229 sub _format_for_Md { return $_format_for_Md }
230}
231
232{
2332200ns my $_format_for_d = "d";
234 sub _format_for_d { return $_format_for_d }
235}
236
237{
2382200ns my $_format_for_hm = "h\:mm\ a";
239 sub _format_for_hm { return $_format_for_hm }
240}
241
242{
2432200ns my $_format_for_hms = "h\:mm\:ss\ a";
244 sub _format_for_hms { return $_format_for_hms }
245}
246
247{
2482200ns my $_format_for_ms = "mm\:ss";
249 sub _format_for_ms { return $_format_for_ms }
250}
251
252{
2532200ns my $_format_for_y = "y";
254 sub _format_for_y { return $_format_for_y }
255}
256
257{
2582300ns my $_format_for_yM = "y\-M";
259 sub _format_for_yM { return $_format_for_yM }
260}
261
262{
2632200ns my $_format_for_yMEd = "EEE\,\ y\-M\-d";
264 sub _format_for_yMEd { return $_format_for_yMEd }
265}
266
267{
2682200ns my $_format_for_yMMM = "y\ MMM";
269 sub _format_for_yMMM { return $_format_for_yMMM }
270}
271
272{
2732200ns my $_format_for_yMMMEd = "EEE\,\ y\ MMM\ d";
274 sub _format_for_yMMMEd { return $_format_for_yMMMEd }
275}
276
277{
27825µs my $_format_for_yMMMM = "y\ MMMM";
279 sub _format_for_yMMMM { return $_format_for_yMMMM }
280}
281
282{
2832600ns my $_format_for_yQ = "y\ Q";
284 sub _format_for_yQ { return $_format_for_yQ }
285}
286
287{
2882300ns my $_format_for_yQQQ = "y\ QQQ";
289 sub _format_for_yQQQ { return $_format_for_yQQQ }
290}
291
292{
29329µs my $_available_formats =
294 {
295 "EEEd" => "d\ EEE",
296 "Hm" => "H\:mm",
297 "Hms" => "H\:mm\:ss",
298 "M" => "L",
299 "MEd" => "E\,\ M\-d",
300 "MMM" => "LLL",
301 "MMMEd" => "E\ MMM\ d",
302 "MMMMEd" => "E\ MMMM\ d",
303 "MMMMd" => "MMMM\ d",
304 "MMMd" => "MMM\ d",
305 "Md" => "M\-d",
306 "d" => "d",
307 "hm" => "h\:mm\ a",
308 "hms" => "h\:mm\:ss\ a",
309 "ms" => "mm\:ss",
310 "y" => "y",
311 "yM" => "y\-M",
312 "yMEd" => "EEE\,\ y\-M\-d",
313 "yMMM" => "y\ MMM",
314 "yMMMEd" => "EEE\,\ y\ MMM\ d",
315 "yMMMM" => "y\ MMMM",
316 "yQ" => "y\ Q",
317 "yQQQ" => "y\ QQQ"
318 };
319 sub _available_formats { return $_available_formats }
320}
321
322{
3232200ns my $glibc_date_format = "\%m\/\%d\/\%y";
324 sub glibc_date_format { return $glibc_date_format }
325}
326
327{
3282200ns my $glibc_date_1_format = "\%a\ \%b\ \%e\ \%H\:\%M\:\%S\ \%Z\ \%Y";
329 sub glibc_date_1_format { return $glibc_date_1_format }
330}
331
332{
3332300ns my $glibc_datetime_format = "\%a\ \%b\ \%e\ \%H\:\%M\:\%S\ \%Y";
334 sub glibc_datetime_format { return $glibc_datetime_format }
335}
336
337{
3382300ns my $glibc_time_format = "\%H\:\%M\:\%S";
339 sub glibc_time_format { return $glibc_time_format }
340}
341
342{
3432300ns my $glibc_time_12_format = "\%I\:\%M\:\%S\ \%p";
344 sub glibc_time_12_format { return $glibc_time_12_format }
345}
346
347118µs1;
348
349__END__