Filename | /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Constants.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
2 | 1 | 1 | 4.03ms | 4.03ms | DEBUG_ALL (xsub) | Template::Constants::
1 | 1 | 1 | 14µs | 47µs | BEGIN@27 | Template::Constants::
1 | 1 | 1 | 13µs | 19µs | BEGIN@22 | Template::Constants::
1 | 1 | 1 | 13µs | 34µs | BEGIN@75 | Template::Constants::
1 | 1 | 1 | 12µs | 34µs | BEGIN@79 | Template::Constants::
1 | 1 | 1 | 12µs | 27µs | BEGIN@48 | Template::Constants::
1 | 1 | 1 | 12µs | 34µs | BEGIN@76 | Template::Constants::
1 | 1 | 1 | 12µs | 33µs | BEGIN@80 | Template::Constants::
1 | 1 | 1 | 11µs | 33µs | BEGIN@44 | Template::Constants::
1 | 1 | 1 | 11µs | 22µs | BEGIN@74 | Template::Constants::
1 | 1 | 1 | 10µs | 90µs | BEGIN@68 | Template::Constants::
1 | 1 | 1 | 10µs | 43µs | BEGIN@40 | Template::Constants::
1 | 1 | 1 | 10µs | 27µs | BEGIN@45 | Template::Constants::
1 | 1 | 1 | 8µs | 26µs | BEGIN@24 | Template::Constants::
1 | 1 | 1 | 8µs | 21µs | BEGIN@58 | Template::Constants::
1 | 1 | 1 | 8µs | 22µs | BEGIN@41 | Template::Constants::
1 | 1 | 1 | 8µs | 24µs | BEGIN@43 | Template::Constants::
1 | 1 | 1 | 8µs | 26µs | BEGIN@69 | Template::Constants::
1 | 1 | 1 | 7µs | 20µs | BEGIN@50 | Template::Constants::
1 | 1 | 1 | 7µs | 20µs | BEGIN@70 | Template::Constants::
1 | 1 | 1 | 7µs | 11µs | BEGIN@23 | Template::Constants::
1 | 1 | 1 | 7µs | 45µs | BEGIN@28 | Template::Constants::
1 | 1 | 1 | 7µs | 21µs | BEGIN@49 | Template::Constants::
1 | 1 | 1 | 7µs | 20µs | BEGIN@54 | Template::Constants::
1 | 1 | 1 | 7µs | 20µs | BEGIN@72 | Template::Constants::
1 | 1 | 1 | 7µs | 20µs | BEGIN@51 | Template::Constants::
1 | 1 | 1 | 7µs | 19µs | BEGIN@57 | Template::Constants::
1 | 1 | 1 | 7µs | 20µs | BEGIN@52 | Template::Constants::
1 | 1 | 1 | 7µs | 19µs | BEGIN@60 | Template::Constants::
6 | 2 | 2 | 7µs | 7µs | DEBUG_UNDEF (xsub) | Template::Constants::
1 | 1 | 1 | 7µs | 23µs | BEGIN@53 | Template::Constants::
1 | 1 | 1 | 6µs | 19µs | BEGIN@71 | Template::Constants::
1 | 1 | 1 | 6µs | 22µs | BEGIN@65 | Template::Constants::
1 | 1 | 1 | 6µs | 20µs | BEGIN@67 | Template::Constants::
1 | 1 | 1 | 6µs | 18µs | BEGIN@73 | Template::Constants::
1 | 1 | 1 | 6µs | 21µs | BEGIN@42 | Template::Constants::
1 | 1 | 1 | 6µs | 18µs | BEGIN@59 | Template::Constants::
1 | 1 | 1 | 6µs | 18µs | BEGIN@61 | Template::Constants::
1 | 1 | 1 | 6µs | 20µs | BEGIN@64 | Template::Constants::
1 | 1 | 1 | 6µs | 19µs | BEGIN@66 | Template::Constants::
2 | 1 | 1 | 3µs | 3µs | DEBUG_OFF (xsub) | Template::Constants::
2 | 1 | 1 | 1µs | 1µs | DEBUG_CALLER (xsub) | Template::Constants::
2 | 1 | 1 | 600ns | 600ns | DEBUG_ON (xsub) | Template::Constants::
2 | 1 | 1 | 600ns | 600ns | DEBUG_PROVIDER (xsub) | Template::Constants::
2 | 1 | 1 | 500ns | 500ns | DEBUG_CONTEXT (xsub) | Template::Constants::
2 | 1 | 1 | 500ns | 500ns | DEBUG_DIRS (xsub) | Template::Constants::
2 | 1 | 1 | 500ns | 500ns | DEBUG_PARSER (xsub) | Template::Constants::
2 | 1 | 1 | 500ns | 500ns | DEBUG_PLUGINS (xsub) | Template::Constants::
2 | 1 | 1 | 500ns | 500ns | DEBUG_STASH (xsub) | Template::Constants::
2 | 1 | 1 | 500ns | 500ns | DEBUG_VARS (xsub) | Template::Constants::
2 | 1 | 1 | 400ns | 400ns | DEBUG_FILTERS (xsub) | Template::Constants::
2 | 1 | 1 | 400ns | 400ns | DEBUG_SERVICE (xsub) | Template::Constants::
0 | 0 | 0 | 0s | 0s | debug_flags | Template::Constants::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | #============================================================= -*-Perl-*- | ||||
2 | # | ||||
3 | # Template::Constants.pm | ||||
4 | # | ||||
5 | # DESCRIPTION | ||||
6 | # Definition of constants for the Template Toolkit. | ||||
7 | # | ||||
8 | # AUTHOR | ||||
9 | # Andy Wardley <abw@wardley.org> | ||||
10 | # | ||||
11 | # COPYRIGHT | ||||
12 | # Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved. | ||||
13 | # | ||||
14 | # This module is free software; you can redistribute it and/or | ||||
15 | # modify it under the same terms as Perl itself. | ||||
16 | # | ||||
17 | #============================================================================ | ||||
18 | |||||
19 | package Template::Constants; | ||||
20 | |||||
21 | require Exporter; | ||||
22 | 2 | 26µs | # spent 19µs (13+7) within Template::Constants::BEGIN@22 which was called:
# once (13µs+7µs) by Template::Base::BEGIN@24 at line 22 # spent 19µs making 1 call to Template::Constants::BEGIN@22
# spent 6µs making 1 call to strict::import | ||
23 | 2 | 15µs | # spent 11µs (7+4) within Template::Constants::BEGIN@23 which was called:
# once (7µs+4µs) by Template::Base::BEGIN@24 at line 23 # spent 11µs making 1 call to Template::Constants::BEGIN@23
# spent 4µs making 1 call to warnings::import | ||
24 | 2 | 43µs | # spent 26µs (8+17) within Template::Constants::BEGIN@24 which was called:
# once (8µs+17µs) by Template::Base::BEGIN@24 at line 24 # spent 26µs making 1 call to Template::Constants::BEGIN@24
# spent 17µs making 1 call to Exporter::import | ||
25 | # Perl::MinimumVersion seems to think this is a Perl 5.008ism... | ||||
26 | # use base qw( Exporter ); | ||||
27 | 2 | 81µs | # spent 47µs (14+34) within Template::Constants::BEGIN@27 which was called:
# once (14µs+34µs) by Template::Base::BEGIN@24 at line 27 # spent 47µs making 1 call to Template::Constants::BEGIN@27
# spent 34µs making 1 call to vars::import | ||
28 | 2 | 82µs | # spent 45µs (7+37) within Template::Constants::BEGIN@28 which was called:
# once (7µs+37µs) by Template::Base::BEGIN@24 at line 28 # spent 45µs making 1 call to Template::Constants::BEGIN@28
# spent 37µs making 1 call to vars::import | ||
29 | # ... so we'll do it the Old Skool way just to keep it quiet | ||||
30 | @ISA = qw( Exporter ); | ||||
31 | |||||
32 | our $VERSION = 2.75; | ||||
33 | |||||
34 | |||||
35 | #======================================================================== | ||||
36 | # ----- EXPORTER ----- | ||||
37 | #======================================================================== | ||||
38 | |||||
39 | # STATUS constants returned by directives | ||||
40 | 2 | 76µs | # spent 43µs (10+33) within Template::Constants::BEGIN@40 which was called:
# once (10µs+33µs) by Template::Base::BEGIN@24 at line 40 # spent 43µs making 1 call to Template::Constants::BEGIN@40
# spent 33µs making 1 call to constant::import | ||
41 | 2 | 37µs | # spent 22µs (8+14) within Template::Constants::BEGIN@41 which was called:
# once (8µs+14µs) by Template::Base::BEGIN@24 at line 41 # spent 22µs making 1 call to Template::Constants::BEGIN@41
# spent 14µs making 1 call to constant::import | ||
42 | 2 | 35µs | # spent 21µs (6+14) within Template::Constants::BEGIN@42 which was called:
# once (6µs+14µs) by Template::Base::BEGIN@24 at line 42 # spent 21µs making 1 call to Template::Constants::BEGIN@42
# spent 14µs making 1 call to constant::import | ||
43 | 2 | 40µs | # spent 24µs (8+16) within Template::Constants::BEGIN@43 which was called:
# once (8µs+16µs) by Template::Base::BEGIN@24 at line 43 # spent 24µs making 1 call to Template::Constants::BEGIN@43
# spent 16µs making 1 call to constant::import | ||
44 | 2 | 54µs | # spent 33µs (11+22) within Template::Constants::BEGIN@44 which was called:
# once (11µs+22µs) by Template::Base::BEGIN@24 at line 44 # spent 33µs making 1 call to Template::Constants::BEGIN@44
# spent 22µs making 1 call to constant::import | ||
45 | 2 | 44µs | # spent 27µs (10+17) within Template::Constants::BEGIN@45 which was called:
# once (10µs+17µs) by Template::Base::BEGIN@24 at line 45 # spent 27µs making 1 call to Template::Constants::BEGIN@45
# spent 17µs making 1 call to constant::import | ||
46 | |||||
47 | # ERROR constants for indicating exception types | ||||
48 | 2 | 42µs | # spent 27µs (12+15) within Template::Constants::BEGIN@48 which was called:
# once (12µs+15µs) by Template::Base::BEGIN@24 at line 48 # spent 27µs making 1 call to Template::Constants::BEGIN@48
# spent 15µs making 1 call to constant::import | ||
49 | 2 | 35µs | # spent 21µs (7+14) within Template::Constants::BEGIN@49 which was called:
# once (7µs+14µs) by Template::Base::BEGIN@24 at line 49 # spent 21µs making 1 call to Template::Constants::BEGIN@49
# spent 14µs making 1 call to constant::import | ||
50 | 2 | 33µs | # spent 20µs (7+13) within Template::Constants::BEGIN@50 which was called:
# once (7µs+13µs) by Template::Base::BEGIN@24 at line 50 # spent 20µs making 1 call to Template::Constants::BEGIN@50
# spent 13µs making 1 call to constant::import | ||
51 | 2 | 33µs | # spent 20µs (7+13) within Template::Constants::BEGIN@51 which was called:
# once (7µs+13µs) by Template::Base::BEGIN@24 at line 51 # spent 20µs making 1 call to Template::Constants::BEGIN@51
# spent 13µs making 1 call to constant::import | ||
52 | 2 | 33µs | # spent 20µs (7+13) within Template::Constants::BEGIN@52 which was called:
# once (7µs+13µs) by Template::Base::BEGIN@24 at line 52 # spent 20µs making 1 call to Template::Constants::BEGIN@52
# spent 13µs making 1 call to constant::import | ||
53 | 2 | 39µs | # spent 23µs (7+16) within Template::Constants::BEGIN@53 which was called:
# once (7µs+16µs) by Template::Base::BEGIN@24 at line 53 # spent 23µs making 1 call to Template::Constants::BEGIN@53
# spent 16µs making 1 call to constant::import | ||
54 | 2 | 33µs | # spent 20µs (7+13) within Template::Constants::BEGIN@54 which was called:
# once (7µs+13µs) by Template::Base::BEGIN@24 at line 54 # spent 20µs making 1 call to Template::Constants::BEGIN@54
# spent 13µs making 1 call to constant::import | ||
55 | |||||
56 | # CHOMP constants for PRE_CHOMP and POST_CHOMP | ||||
57 | 2 | 31µs | # spent 19µs (7+12) within Template::Constants::BEGIN@57 which was called:
# once (7µs+12µs) by Template::Base::BEGIN@24 at line 57 # spent 19µs making 1 call to Template::Constants::BEGIN@57
# spent 12µs making 1 call to constant::import | ||
58 | 2 | 34µs | # spent 21µs (8+13) within Template::Constants::BEGIN@58 which was called:
# once (8µs+13µs) by Template::Base::BEGIN@24 at line 58 # spent 21µs making 1 call to Template::Constants::BEGIN@58
# spent 13µs making 1 call to constant::import | ||
59 | 2 | 31µs | # spent 18µs (6+12) within Template::Constants::BEGIN@59 which was called:
# once (6µs+12µs) by Template::Base::BEGIN@24 at line 59 # spent 18µs making 1 call to Template::Constants::BEGIN@59
# spent 12µs making 1 call to constant::import | ||
60 | 2 | 32µs | # spent 19µs (7+12) within Template::Constants::BEGIN@60 which was called:
# once (7µs+12µs) by Template::Base::BEGIN@24 at line 60 # spent 19µs making 1 call to Template::Constants::BEGIN@60
# spent 12µs making 1 call to constant::import | ||
61 | 2 | 30µs | # spent 18µs (6+12) within Template::Constants::BEGIN@61 which was called:
# once (6µs+12µs) by Template::Base::BEGIN@24 at line 61 # spent 18µs making 1 call to Template::Constants::BEGIN@61
# spent 12µs making 1 call to constant::import | ||
62 | |||||
63 | # DEBUG constants to enable various debugging options | ||||
64 | 2 | 33µs | # spent 20µs (6+13) within Template::Constants::BEGIN@64 which was called:
# once (6µs+13µs) by Template::Base::BEGIN@24 at line 64 # spent 20µs making 1 call to Template::Constants::BEGIN@64
# spent 13µs making 1 call to constant::import | ||
65 | 2 | 38µs | # spent 22µs (6+16) within Template::Constants::BEGIN@65 which was called:
# once (6µs+16µs) by Template::Base::BEGIN@24 at line 65 # spent 22µs making 1 call to Template::Constants::BEGIN@65
# spent 16µs making 1 call to constant::import | ||
66 | 2 | 31µs | # spent 19µs (6+13) within Template::Constants::BEGIN@66 which was called:
# once (6µs+13µs) by Template::Base::BEGIN@24 at line 66 # spent 19µs making 1 call to Template::Constants::BEGIN@66
# spent 13µs making 1 call to constant::import | ||
67 | 2 | 35µs | # spent 20µs (6+14) within Template::Constants::BEGIN@67 which was called:
# once (6µs+14µs) by Template::Base::BEGIN@24 at line 67 # spent 20µs making 1 call to Template::Constants::BEGIN@67
# spent 14µs making 1 call to constant::import | ||
68 | 2 | 170µs | # spent 90µs (10+80) within Template::Constants::BEGIN@68 which was called:
# once (10µs+80µs) by Template::Base::BEGIN@24 at line 68 # spent 90µs making 1 call to Template::Constants::BEGIN@68
# spent 80µs making 1 call to constant::import | ||
69 | 2 | 44µs | # spent 26µs (8+18) within Template::Constants::BEGIN@69 which was called:
# once (8µs+18µs) by Template::Base::BEGIN@24 at line 69 # spent 26µs making 1 call to Template::Constants::BEGIN@69
# spent 18µs making 1 call to constant::import | ||
70 | 2 | 32µs | # spent 20µs (7+12) within Template::Constants::BEGIN@70 which was called:
# once (7µs+12µs) by Template::Base::BEGIN@24 at line 70 # spent 20µs making 1 call to Template::Constants::BEGIN@70
# spent 12µs making 1 call to constant::import | ||
71 | 2 | 31µs | # spent 19µs (6+12) within Template::Constants::BEGIN@71 which was called:
# once (6µs+12µs) by Template::Base::BEGIN@24 at line 71 # spent 19µs making 1 call to Template::Constants::BEGIN@71
# spent 12µs making 1 call to constant::import | ||
72 | 2 | 32µs | # spent 20µs (7+13) within Template::Constants::BEGIN@72 which was called:
# once (7µs+13µs) by Template::Base::BEGIN@24 at line 72 # spent 20µs making 1 call to Template::Constants::BEGIN@72
# spent 13µs making 1 call to constant::import | ||
73 | 2 | 30µs | # spent 18µs (6+12) within Template::Constants::BEGIN@73 which was called:
# once (6µs+12µs) by Template::Base::BEGIN@24 at line 73 # spent 18µs making 1 call to Template::Constants::BEGIN@73
# spent 12µs making 1 call to constant::import | ||
74 | 2 | 33µs | # spent 22µs (11+11) within Template::Constants::BEGIN@74 which was called:
# once (11µs+11µs) by Template::Base::BEGIN@24 at line 74 # spent 22µs making 1 call to Template::Constants::BEGIN@74
# spent 11µs making 1 call to constant::import | ||
75 | 2 | 56µs | # spent 34µs (13+22) within Template::Constants::BEGIN@75 which was called:
# once (13µs+22µs) by Template::Base::BEGIN@24 at line 75 # spent 34µs making 1 call to Template::Constants::BEGIN@75
# spent 22µs making 1 call to constant::import | ||
76 | 2 | 57µs | # spent 34µs (12+23) within Template::Constants::BEGIN@76 which was called:
# once (12µs+23µs) by Template::Base::BEGIN@24 at line 76 # spent 34µs making 1 call to Template::Constants::BEGIN@76
# spent 23µs making 1 call to constant::import | ||
77 | |||||
78 | # extra debugging flags | ||||
79 | 2 | 56µs | # spent 34µs (12+22) within Template::Constants::BEGIN@79 which was called:
# once (12µs+22µs) by Template::Base::BEGIN@24 at line 79 # spent 34µs making 1 call to Template::Constants::BEGIN@79
# spent 22µs making 1 call to constant::import | ||
80 | 2 | 54µs | # spent 33µs (12+21) within Template::Constants::BEGIN@80 which was called:
# once (12µs+21µs) by Template::Base::BEGIN@24 at line 80 # spent 33µs making 1 call to Template::Constants::BEGIN@80
# spent 21µs making 1 call to constant::import | ||
81 | |||||
82 | 28 | 4.04ms | $DEBUG_OPTIONS = { # spent 4.03ms making 2 calls to Template::Constants::DEBUG_ALL, avg 2.02ms/call
# spent 3µs making 2 calls to Template::Constants::DEBUG_OFF, avg 1µs/call
# spent 1µs making 2 calls to Template::Constants::DEBUG_CALLER, avg 700ns/call
# spent 600ns making 2 calls to Template::Constants::DEBUG_ON, avg 300ns/call
# spent 600ns making 2 calls to Template::Constants::DEBUG_PROVIDER, avg 300ns/call
# spent 500ns making 2 calls to Template::Constants::DEBUG_CONTEXT, avg 250ns/call
# spent 500ns making 2 calls to Template::Constants::DEBUG_DIRS, avg 250ns/call
# spent 500ns making 2 calls to Template::Constants::DEBUG_PARSER, avg 250ns/call
# spent 500ns making 2 calls to Template::Constants::DEBUG_PLUGINS, avg 250ns/call
# spent 500ns making 2 calls to Template::Constants::DEBUG_STASH, avg 250ns/call
# spent 500ns making 2 calls to Template::Constants::DEBUG_UNDEF, avg 250ns/call
# spent 500ns making 2 calls to Template::Constants::DEBUG_VARS, avg 250ns/call
# spent 400ns making 2 calls to Template::Constants::DEBUG_FILTERS, avg 200ns/call
# spent 400ns making 2 calls to Template::Constants::DEBUG_SERVICE, avg 200ns/call | ||
83 | &DEBUG_OFF => off => off => &DEBUG_OFF, | ||||
84 | &DEBUG_ON => on => on => &DEBUG_ON, | ||||
85 | &DEBUG_UNDEF => undef => undef => &DEBUG_UNDEF, | ||||
86 | &DEBUG_VARS => vars => vars => &DEBUG_VARS, | ||||
87 | &DEBUG_DIRS => dirs => dirs => &DEBUG_DIRS, | ||||
88 | &DEBUG_STASH => stash => stash => &DEBUG_STASH, | ||||
89 | &DEBUG_CONTEXT => context => context => &DEBUG_CONTEXT, | ||||
90 | &DEBUG_PARSER => parser => parser => &DEBUG_PARSER, | ||||
91 | &DEBUG_PROVIDER => provider => provider => &DEBUG_PROVIDER, | ||||
92 | &DEBUG_PLUGINS => plugins => plugins => &DEBUG_PLUGINS, | ||||
93 | &DEBUG_FILTERS => filters => filters => &DEBUG_FILTERS, | ||||
94 | &DEBUG_SERVICE => service => service => &DEBUG_SERVICE, | ||||
95 | &DEBUG_ALL => all => all => &DEBUG_ALL, | ||||
96 | &DEBUG_CALLER => caller => caller => &DEBUG_CALLER, | ||||
97 | }; | ||||
98 | |||||
99 | @STATUS = qw( STATUS_OK STATUS_RETURN STATUS_STOP STATUS_DONE | ||||
100 | STATUS_DECLINED STATUS_ERROR ); | ||||
101 | @ERROR = qw( ERROR_FILE ERROR_VIEW ERROR_UNDEF ERROR_PERL | ||||
102 | ERROR_RETURN ERROR_FILTER ERROR_PLUGIN ); | ||||
103 | @CHOMP = qw( CHOMP_NONE CHOMP_ALL CHOMP_ONE CHOMP_COLLAPSE CHOMP_GREEDY ); | ||||
104 | @DEBUG = qw( DEBUG_OFF DEBUG_ON DEBUG_UNDEF DEBUG_VARS | ||||
105 | DEBUG_DIRS DEBUG_STASH DEBUG_CONTEXT DEBUG_PARSER | ||||
106 | DEBUG_PROVIDER DEBUG_PLUGINS DEBUG_FILTERS DEBUG_SERVICE | ||||
107 | DEBUG_ALL DEBUG_CALLER DEBUG_FLAGS ); | ||||
108 | |||||
109 | @EXPORT_OK = ( @STATUS, @ERROR, @CHOMP, @DEBUG ); | ||||
110 | %EXPORT_TAGS = ( | ||||
111 | 'all' => [ @EXPORT_OK ], | ||||
112 | 'status' => [ @STATUS ], | ||||
113 | 'error' => [ @ERROR ], | ||||
114 | 'chomp' => [ @CHOMP ], | ||||
115 | 'debug' => [ @DEBUG ], | ||||
116 | ); | ||||
117 | |||||
118 | |||||
119 | sub debug_flags { | ||||
120 | my ($self, $debug) = @_; | ||||
121 | my (@flags, $flag, $value); | ||||
122 | $debug = $self unless defined($debug) || ref($self); | ||||
123 | |||||
124 | if ($debug =~ /^\d+$/) { | ||||
125 | foreach $flag (@DEBUG) { | ||||
126 | next if $flag =~ /^DEBUG_(OFF|ALL|FLAGS)$/; | ||||
127 | |||||
128 | # don't trash the original | ||||
129 | my $copy = $flag; | ||||
130 | $flag =~ s/^DEBUG_//; | ||||
131 | $flag = lc $flag; | ||||
132 | return $self->error("no value for flag: $flag") | ||||
133 | unless defined($value = $DEBUG_OPTIONS->{ $flag }); | ||||
134 | $flag = $value; | ||||
135 | |||||
136 | if ($debug & $flag) { | ||||
137 | $value = $DEBUG_OPTIONS->{ $flag }; | ||||
138 | return $self->error("no value for flag: $flag") unless defined $value; | ||||
139 | push(@flags, $value); | ||||
140 | } | ||||
141 | } | ||||
142 | return wantarray ? @flags : join(', ', @flags); | ||||
143 | } | ||||
144 | else { | ||||
145 | @flags = split(/\W+/, $debug); | ||||
146 | $debug = 0; | ||||
147 | foreach $flag (@flags) { | ||||
148 | $value = $DEBUG_OPTIONS->{ $flag }; | ||||
149 | return $self->error("unknown debug flag: $flag") unless defined $value; | ||||
150 | $debug |= $value; | ||||
151 | } | ||||
152 | return $debug; | ||||
153 | } | ||||
154 | } | ||||
155 | |||||
156 | |||||
157 | 1; | ||||
158 | |||||
159 | __END__ | ||||
# spent 4.03ms within Template::Constants::DEBUG_ALL which was called 2 times, avg 2.02ms/call:
# 2 times (4.03ms+0s) by Template::Base::BEGIN@24 at line 82, avg 2.02ms/call | |||||
# spent 1µs within Template::Constants::DEBUG_CALLER which was called 2 times, avg 700ns/call:
# 2 times (1µs+0s) by Template::Base::BEGIN@24 at line 82, avg 700ns/call | |||||
# spent 500ns within Template::Constants::DEBUG_CONTEXT which was called 2 times, avg 250ns/call:
# 2 times (500ns+0s) by Template::Base::BEGIN@24 at line 82, avg 250ns/call | |||||
# spent 500ns within Template::Constants::DEBUG_DIRS which was called 2 times, avg 250ns/call:
# 2 times (500ns+0s) by Template::Base::BEGIN@24 at line 82, avg 250ns/call | |||||
# spent 400ns within Template::Constants::DEBUG_FILTERS which was called 2 times, avg 200ns/call:
# 2 times (400ns+0s) by Template::Base::BEGIN@24 at line 82, avg 200ns/call | |||||
# spent 3µs within Template::Constants::DEBUG_OFF which was called 2 times, avg 1µs/call:
# 2 times (3µs+0s) by Template::Base::BEGIN@24 at line 82, avg 1µs/call | |||||
# spent 600ns within Template::Constants::DEBUG_ON which was called 2 times, avg 300ns/call:
# 2 times (600ns+0s) by Template::Base::BEGIN@24 at line 82, avg 300ns/call | |||||
# spent 500ns within Template::Constants::DEBUG_PARSER which was called 2 times, avg 250ns/call:
# 2 times (500ns+0s) by Template::Base::BEGIN@24 at line 82, avg 250ns/call | |||||
# spent 500ns within Template::Constants::DEBUG_PLUGINS which was called 2 times, avg 250ns/call:
# 2 times (500ns+0s) by Template::Base::BEGIN@24 at line 82, avg 250ns/call | |||||
# spent 600ns within Template::Constants::DEBUG_PROVIDER which was called 2 times, avg 300ns/call:
# 2 times (600ns+0s) by Template::Base::BEGIN@24 at line 82, avg 300ns/call | |||||
# spent 400ns within Template::Constants::DEBUG_SERVICE which was called 2 times, avg 200ns/call:
# 2 times (400ns+0s) by Template::Base::BEGIN@24 at line 82, avg 200ns/call | |||||
# spent 500ns within Template::Constants::DEBUG_STASH which was called 2 times, avg 250ns/call:
# 2 times (500ns+0s) by Template::Base::BEGIN@24 at line 82, avg 250ns/call | |||||
# spent 7µs within Template::Constants::DEBUG_UNDEF which was called 6 times, avg 1µs/call:
# 4 times (6µs+0s) by Template::Context::_init at line 874 of Template/Context.pm, avg 2µs/call
# 2 times (500ns+0s) by Template::Base::BEGIN@24 at line 82, avg 250ns/call | |||||
# spent 500ns within Template::Constants::DEBUG_VARS which was called 2 times, avg 250ns/call:
# 2 times (500ns+0s) by Template::Base::BEGIN@24 at line 82, avg 250ns/call |