Filename | /tmp/Parser.yp |
Statements | Executed 10038 statements in 58.5ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
914 | 1 | 1 | 16.8ms | 51.5ms | __ANON__[Parser.yp:76] | Template::Grammar::
626 | 1 | 1 | 5.89ms | 16.7ms | __ANON__[Parser.yp:79] | Template::Grammar::
1124 | 1 | 1 | 4.66ms | 4.66ms | __ANON__[Parser.yp:72] | Template::Grammar::
643 | 1 | 1 | 4.61ms | 9.74ms | __ANON__[Parser.yp:305] | Template::Grammar::
416 | 1 | 1 | 3.35ms | 7.64ms | __ANON__[Parser.yp:67] | Template::Grammar::
919 | 1 | 1 | 3.13ms | 3.13ms | __ANON__[Parser.yp:345] | Template::Grammar::
915 | 1 | 1 | 2.83ms | 2.83ms | __ANON__[Parser.yp:341] | Template::Grammar::
273 | 1 | 1 | 2.52ms | 6.84ms | __ANON__[Parser.yp:141] | Template::Grammar::
236 | 1 | 1 | 1.99ms | 3.34ms | __ANON__[Parser.yp:90] | Template::Grammar::
416 | 1 | 1 | 1.51ms | 1.51ms | __ANON__[Parser.yp:73] | Template::Grammar::
273 | 1 | 1 | 1.10ms | 1.10ms | __ANON__[Parser.yp:334] | Template::Grammar::
276 | 1 | 1 | 1.08ms | 1.08ms | __ANON__[Parser.yp:364] | Template::Grammar::
74 | 1 | 1 | 818µs | 2.50ms | __ANON__[Parser.yp:229] | Template::Grammar::
67 | 1 | 1 | 666µs | 1.03ms | __ANON__[Parser.yp:109] | Template::Grammar::
192 | 1 | 1 | 595µs | 595µs | __ANON__[Parser.yp:152] | Template::Grammar::
27 | 1 | 1 | 416µs | 2.72ms | __ANON__[Parser.yp:168] | Template::Grammar::
113 | 1 | 1 | 400µs | 400µs | __ANON__[Parser.yp:387] | Template::Grammar::
93 | 1 | 1 | 349µs | 349µs | __ANON__[Parser.yp:151] | Template::Grammar::
74 | 1 | 1 | 303µs | 303µs | __ANON__[Parser.yp:416] | Template::Grammar::
27 | 1 | 1 | 283µs | 570µs | __ANON__[Parser.yp:167] | Template::Grammar::
79 | 1 | 1 | 274µs | 274µs | __ANON__[Parser.yp:407] | Template::Grammar::
82 | 1 | 1 | 232µs | 232µs | __ANON__[Parser.yp:412] | Template::Grammar::
12 | 1 | 1 | 148µs | 306µs | __ANON__[Parser.yp:144] | Template::Grammar::
23 | 1 | 1 | 126µs | 126µs | __ANON__[Parser.yp:357] | Template::Grammar::
8 | 1 | 1 | 125µs | 507µs | __ANON__[Parser.yp:64] | Template::Grammar::
27 | 1 | 1 | 123µs | 123µs | __ANON__[Parser.yp:176] | Template::Grammar::
8 | 1 | 1 | 63µs | 211µs | __ANON__[Parser.yp:118] | Template::Grammar::
12 | 1 | 1 | 41µs | 41µs | __ANON__[Parser.yp:359] | Template::Grammar::
4 | 1 | 1 | 40µs | 72µs | __ANON__[Parser.yp:342] | Template::Grammar::
9 | 1 | 1 | 34µs | 34µs | __ANON__[Parser.yp:360] | Template::Grammar::
9 | 1 | 1 | 29µs | 29µs | __ANON__[Parser.yp:382] | Template::Grammar::
4 | 1 | 1 | 29µs | 29µs | __ANON__[Parser.yp:150] | Template::Grammar::
3 | 1 | 1 | 28µs | 119µs | __ANON__[Parser.yp:115] | Template::Grammar::
1 | 1 | 1 | 20µs | 33µs | __ANON__[Parser.yp:307] | Template::Grammar::
1 | 1 | 1 | 14µs | 19µs | __ANON__[Parser.yp:68] | Template::Grammar::
1 | 1 | 1 | 12µs | 18µs | __ANON__[Parser.yp:145] | Template::Grammar::
3 | 1 | 1 | 10µs | 10µs | __ANON__[Parser.yp:408] | Template::Grammar::
4 | 1 | 1 | 9µs | 9µs | __ANON__[Parser.yp:312] | Template::Grammar::
1 | 1 | 1 | 9µs | 27µs | __ANON__[Parser.yp:440] | Template::Grammar::
3 | 1 | 1 | 8µs | 8µs | __ANON__[Parser.yp:374] | Template::Grammar::
3 | 1 | 1 | 5µs | 5µs | __ANON__[Parser.yp:386] | Template::Grammar::
1 | 1 | 1 | 4µs | 4µs | __ANON__[Parser.yp:435] | Template::Grammar::
1 | 1 | 1 | 4µs | 4µs | __ANON__[Parser.yp:361] | Template::Grammar::
1 | 1 | 1 | 3µs | 3µs | __ANON__[Parser.yp:436] | Template::Grammar::
1 | 1 | 1 | 3µs | 3µs | __ANON__[Parser.yp:299] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:113] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:114] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:116] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:117] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:119] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:120] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:121] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:122] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:123] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:124] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:127] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:135] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:142] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:156] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:161] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:162] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:163] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:164] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:169] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:170] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:171] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:172] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:175] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:177] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:181] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:183] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:187] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:192] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:195] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:198] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:199] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:200] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:203] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:206] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:208] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:211] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:215] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:219] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:223] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:227] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:238] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:243] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:247] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:258] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:261] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:265] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:266] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:270] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:273] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:274] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:275] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:278] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:285] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:286] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:287] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:300] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:301] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:302] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:306] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:317] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:322] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:325] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:330] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:331] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:337] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:346] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:349] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:352] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:353] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:354] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:355] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:356] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:358] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:362] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:363] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:368] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:375] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:383] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:385] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:397] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:402] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:406] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:411] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:415] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:420] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:439] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:441] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:91] | Template::Grammar::
0 | 0 | 0 | 0s | 0s | __ANON__[Parser.yp:95] | Template::Grammar::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | |||||
- - | |||||
63 | #line 64 "Parser.yp" | ||||
64 | 8 | 68µs | 8 | 383µs | # spent 507µs (125+383) within Template::Grammar::__ANON__[Parser.yp:64] which was called 8 times, avg 63µs/call:
# 8 times (125µs+383µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 63µs/call # spent 383µs making 8 calls to Template::Directive::template, avg 48µs/call |
65 | ], | ||||
66 | #line 67 "Parser.yp" | ||||
67 | 416 | 2.38ms | 416 | 4.29ms | # spent 7.64ms (3.35+4.29) within Template::Grammar::__ANON__[Parser.yp:67] which was called 416 times, avg 18µs/call:
# 416 times (3.35ms+4.29ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 18µs/call # spent 4.29ms making 416 calls to Template::Directive::block, avg 10µs/call |
68 | 1 | 10µs | 1 | 5µs | # spent 19µs (14+5) within Template::Grammar::__ANON__[Parser.yp:68] which was called:
# once (14µs+5µs) by Template::Parser::_parse at line 872 of Template/Parser.pm # spent 5µs making 1 call to Template::Directive::block |
69 | ], | ||||
70 | #line 71 "Parser.yp" | ||||
71 | 1124 | 2.17ms | # spent 4.66ms within Template::Grammar::__ANON__[Parser.yp:72] which was called 1124 times, avg 4µs/call:
# 1124 times (4.66ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call | ||
72 | 1124 | 3.95ms | #line 73 "Parser.yp" | ||
73 | 416 | 1.92ms | # spent 1.51ms within Template::Grammar::__ANON__[Parser.yp:73] which was called 416 times, avg 4µs/call:
# 416 times (1.51ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call | ||
74 | ], | ||||
75 | #line 76 "Parser.yp" | ||||
76 | 914 | 16.8ms | 914 | 34.7ms | # spent 51.5ms (16.8+34.7) within Template::Grammar::__ANON__[Parser.yp:76] which was called 914 times, avg 56µs/call:
# 914 times (16.8ms+34.7ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 56µs/call # spent 34.7ms making 914 calls to Template::Directive::textblock, avg 38µs/call |
77 | 626 | 318µs | # spent 16.7ms (5.89+10.8) within Template::Grammar::__ANON__[Parser.yp:79] which was called 626 times, avg 27µs/call:
# 626 times (5.89ms+10.8ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 27µs/call | ||
78 | 626 | 5.05ms | 626 | 10.8ms | $_[0]->location() . $_[1]; # spent 10.8ms making 626 calls to Template::Parser::location, avg 17µs/call |
79 | } | ||||
80 | ], | ||||
81 | [#Rule 8 | ||||
82 | 'statement', 1, undef | ||||
83 | ], | ||||
84 | [#Rule 9 | ||||
85 | 'statement', 1, undef | ||||
86 | ], | ||||
87 | [#Rule 10 | ||||
88 | 'statement', 1, undef | ||||
89 | #line 90 "Parser.yp" | ||||
90 | 236 | 1.64ms | 236 | 1.36ms | # spent 3.34ms (1.99+1.36) within Template::Grammar::__ANON__[Parser.yp:90] which was called 236 times, avg 14µs/call:
# 236 times (1.99ms+1.36ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 14µs/call # spent 1.36ms making 236 calls to Template::Directive::get, avg 6µs/call |
91 | { $_[0]->add_metadata($_[2]); } | ||||
92 | ], | ||||
93 | [#Rule 18 | ||||
94 | #line 95 "Parser.yp" | ||||
95 | { $factory->set($_[1]) } | ||||
96 | ], | ||||
97 | [#Rule 20 | ||||
98 | 'directive', 1, undef | ||||
99 | ], | ||||
100 | [#Rule 21 | ||||
101 | 'directive', 1, undef | ||||
102 | ], | ||||
103 | [#Rule 22 | ||||
104 | 'directive', 1, undef | ||||
105 | ], | ||||
106 | [#Rule 23 | ||||
107 | 'directive', 1, undef | ||||
108 | #line 109 "Parser.yp" | ||||
109 | 67 | 552µs | 67 | 368µs | # spent 1.03ms (666µs+368µs) within Template::Grammar::__ANON__[Parser.yp:109] which was called 67 times, avg 15µs/call:
# 67 times (666µs+368µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 15µs/call # spent 368µs making 67 calls to Template::Directive::get, avg 5µs/call |
110 | ], | ||||
111 | [#Rule 27 | ||||
112 | #line 113 "Parser.yp" | ||||
113 | #line 114 "Parser.yp" | ||||
114 | #line 115 "Parser.yp" | ||||
115 | 3 | 22µs | 3 | 92µs | # spent 119µs (28+92) within Template::Grammar::__ANON__[Parser.yp:115] which was called 3 times, avg 40µs/call:
# 3 times (28µs+92µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 40µs/call # spent 92µs making 3 calls to Template::Directive::set, avg 31µs/call |
116 | #line 117 "Parser.yp" | ||||
117 | #line 118 "Parser.yp" | ||||
118 | 8 | 52µs | 8 | 148µs | # spent 211µs (63+148) within Template::Grammar::__ANON__[Parser.yp:118] which was called 8 times, avg 26µs/call:
# 8 times (63µs+148µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 26µs/call # spent 148µs making 8 calls to Template::Directive::include, avg 18µs/call |
119 | #line 120 "Parser.yp" | ||||
120 | #line 121 "Parser.yp" | ||||
121 | #line 122 "Parser.yp" | ||||
122 | #line 123 "Parser.yp" | ||||
123 | #line 124 "Parser.yp" | ||||
124 | #line 125 "Parser.yp" | ||||
125 | { $_[0]->in_block('FOR') | ||||
126 | ? $factory->next($_[0]->block_label) | ||||
127 | #line 128 "Parser.yp" | ||||
128 | { if ($_[2]->[0]->[0] =~ /^'(on|off)'$/) { | ||||
129 | $_[0]->{ DEBUG_DIRS } = ($1 eq 'on'); | ||||
130 | $factory->debug($_[2]); | ||||
131 | } | ||||
132 | else { | ||||
133 | $_[0]->{ DEBUG_DIRS } ? $factory->debug($_[2]) : ''; | ||||
134 | } | ||||
135 | } | ||||
136 | ], | ||||
137 | [#Rule 42 | ||||
138 | 'atomdir', 1, undef | ||||
139 | ], | ||||
140 | #line 141 "Parser.yp" | ||||
141 | 273 | 1.81ms | 273 | 4.32ms | # spent 6.84ms (2.52+4.32) within Template::Grammar::__ANON__[Parser.yp:141] which was called 273 times, avg 25µs/call:
# 273 times (2.52ms+4.32ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 25µs/call # spent 4.32ms making 273 calls to Template::Directive::if, avg 16µs/call |
142 | { $factory->if(@_[3, 1]) } | ||||
143 | #line 144 "Parser.yp" | ||||
144 | 12 | 104µs | 12 | 158µs | # spent 306µs (148+158) within Template::Grammar::__ANON__[Parser.yp:144] which was called 12 times, avg 25µs/call:
# 12 times (148µs+158µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 25µs/call # spent 158µs making 12 calls to Template::Directive::if, avg 13µs/call |
145 | 1 | 10µs | 1 | 7µs | # spent 18µs (12+7) within Template::Grammar::__ANON__[Parser.yp:145] which was called:
# once (12µs+7µs) by Template::Parser::_parse at line 872 of Template/Parser.pm # spent 7µs making 1 call to Template::Directive::if |
146 | ], | ||||
147 | [#Rule 48 | ||||
148 | #line 149 "Parser.yp" | ||||
149 | 4 | 18µs | # spent 29µs within Template::Grammar::__ANON__[Parser.yp:150] which was called 4 times, avg 7µs/call:
# 4 times (29µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 7µs/call | ||
150 | 4 | 20µs | #line 151 "Parser.yp" | ||
151 | 93 | 474µs | # spent 349µs within Template::Grammar::__ANON__[Parser.yp:151] which was called 93 times, avg 4µs/call:
# 93 times (349µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call | ||
152 | 192 | 766µs | # spent 595µs within Template::Grammar::__ANON__[Parser.yp:152] which was called 192 times, avg 3µs/call:
# 192 times (595µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call | ||
153 | ], | ||||
154 | [#Rule 51 | ||||
155 | #line 156 "Parser.yp" | ||||
156 | { $factory->switch(@_[2, 5]) } | ||||
157 | ], | ||||
158 | [#Rule 52 | ||||
159 | #line 160 "Parser.yp" | ||||
160 | { unshift(@{$_[5]}, [ @_[2, 4] ]); | ||||
161 | #line 162 "Parser.yp" | ||||
162 | #line 163 "Parser.yp" | ||||
163 | #line 164 "Parser.yp" | ||||
164 | { [ undef ] } | ||||
165 | ], | ||||
166 | #line 167 "Parser.yp" | ||||
167 | 27 | 216µs | 27 | 287µs | # spent 570µs (283+287) within Template::Grammar::__ANON__[Parser.yp:167] which was called 27 times, avg 21µs/call:
# 27 times (283µs+287µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 21µs/call # spent 287µs making 27 calls to Template::Parser::enter_block, avg 11µs/call |
168 | 27 | 355µs | 54 | 2.31ms | # spent 2.72ms (416µs+2.31) within Template::Grammar::__ANON__[Parser.yp:168] which was called 27 times, avg 101µs/call:
# 27 times (416µs+2.31ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 101µs/call # spent 1.31ms making 27 calls to Template::Directive::foreach, avg 48µs/call
# spent 998µs making 27 calls to Template::Parser::leave_block, avg 37µs/call |
169 | #line 170 "Parser.yp" | ||||
170 | #line 171 "Parser.yp" | ||||
171 | #line 172 "Parser.yp" | ||||
172 | { $factory->while(@_[3, 1]) } | ||||
173 | ], | ||||
174 | #line 175 "Parser.yp" | ||||
175 | #line 176 "Parser.yp" | ||||
176 | 27 | 159µs | # spent 123µs within Template::Grammar::__ANON__[Parser.yp:176] which was called 27 times, avg 5µs/call:
# 27 times (123µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 5µs/call | ||
177 | { [ 0, @_[1, 2] ] } | ||||
178 | ], | ||||
179 | [#Rule 65 | ||||
180 | #line 181 "Parser.yp" | ||||
181 | { $factory->wrapper(@_[2, 4]) } | ||||
182 | #line 183 "Parser.yp" | ||||
183 | { $factory->wrapper(@_[3, 1]) } | ||||
184 | ], | ||||
185 | [#Rule 67 | ||||
186 | #line 187 "Parser.yp" | ||||
187 | { $factory->try(@_[3, 4]) } | ||||
188 | ], | ||||
189 | [#Rule 68 | ||||
190 | #line 191 "Parser.yp" | ||||
191 | { unshift(@{$_[5]}, [ @_[2,4] ]); | ||||
192 | $_[5]; } | ||||
193 | #line 194 "Parser.yp" | ||||
194 | { unshift(@{$_[5]}, [ undef, $_[4] ]); | ||||
195 | $_[5]; } | ||||
196 | #line 197 "Parser.yp" | ||||
197 | { unshift(@{$_[4]}, [ undef, $_[3] ]); | ||||
198 | #line 199 "Parser.yp" | ||||
199 | #line 200 "Parser.yp" | ||||
200 | { [ 0 ] } | ||||
201 | ], | ||||
202 | #line 203 "Parser.yp" | ||||
203 | { $factory->use($_[2]) } | ||||
204 | ], | ||||
205 | #line 206 "Parser.yp" | ||||
206 | #line 207 "Parser.yp" | ||||
207 | { $factory->view(@_[2,5], | ||||
208 | $_[0]->pop_defblock) } | ||||
209 | ], | ||||
210 | #line 211 "Parser.yp" | ||||
211 | #line 212 "Parser.yp" | ||||
212 | { ${$_[0]->{ INPERL }}--; | ||||
213 | $_[0]->{ EVAL_PERL } | ||||
214 | ? $factory->perl($_[4]) | ||||
215 | : $factory->no_perl(); } | ||||
216 | ], | ||||
217 | #line 218 "Parser.yp" | ||||
218 | { ${$_[0]->{ INPERL }}++; | ||||
219 | #line 220 "Parser.yp" | ||||
220 | { ${$_[0]->{ INPERL }}--; | ||||
221 | $_[0]->{ EVAL_PERL } | ||||
222 | ? $factory->rawperl($_[4], $rawstart) | ||||
223 | : $factory->no_perl(); } | ||||
224 | ], | ||||
225 | [#Rule 80 | ||||
226 | #line 227 "Parser.yp" | ||||
227 | { $factory->filter(@_[2,4]) } | ||||
228 | #line 229 "Parser.yp" | ||||
229 | 74 | 610µs | 74 | 1.68ms | # spent 2.50ms (818µs+1.68) within Template::Grammar::__ANON__[Parser.yp:229] which was called 74 times, avg 34µs/call:
# 74 times (818µs+1.68ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 34µs/call # spent 1.68ms making 74 calls to Template::Directive::filter, avg 23µs/call |
230 | ], | ||||
231 | [#Rule 82 | ||||
232 | 'defblock', 5, | ||||
233 | #line 234 "Parser.yp" | ||||
234 | { my $name = join('/', @{ $_[0]->{ DEFBLOCKS } }); | ||||
235 | pop(@{ $_[0]->{ DEFBLOCKS } }); | ||||
236 | $_[0]->define_block($name, $_[4]); | ||||
237 | undef | ||||
238 | } | ||||
239 | ], | ||||
240 | #line 241 "Parser.yp" | ||||
241 | { push(@{ $_[0]->{ DEFBLOCKS } }, $_[2]); | ||||
242 | $_[2]; | ||||
243 | } | ||||
244 | ], | ||||
245 | [#Rule 84 | ||||
246 | #line 247 "Parser.yp" | ||||
247 | { $_[1] =~ s/^'(.*)'$/$1/; $_[1] } | ||||
248 | ], | ||||
249 | [#Rule 86 | ||||
250 | 'blockargs', 1, undef | ||||
251 | ], | ||||
252 | [#Rule 87 | ||||
253 | 'blockargs', 0, undef | ||||
254 | #line 255 "Parser.yp" | ||||
255 | { local $" = ', '; | ||||
256 | print STDERR "experimental block args: [@{ $_[2] }]\n" | ||||
257 | if $_[2]; | ||||
258 | $factory->anon_block($_[4]) } | ||||
259 | ], | ||||
260 | #line 261 "Parser.yp" | ||||
261 | { $factory->capture(@_[1, 3]) } | ||||
262 | ], | ||||
263 | [#Rule 90 | ||||
264 | #line 265 "Parser.yp" | ||||
265 | #line 266 "Parser.yp" | ||||
266 | { $factory->macro(@_[2, 3]) } | ||||
267 | ], | ||||
268 | [#Rule 92 | ||||
269 | #line 270 "Parser.yp" | ||||
270 | { $_[3] } | ||||
271 | ], | ||||
272 | #line 273 "Parser.yp" | ||||
273 | #line 274 "Parser.yp" | ||||
274 | #line 275 "Parser.yp" | ||||
275 | { [ $_[1] ] } | ||||
276 | ], | ||||
277 | #line 278 "Parser.yp" | ||||
278 | { push(@{$_[1]}, @{$_[2]}); $_[1] } | ||||
279 | ], | ||||
280 | [#Rule 98 | ||||
281 | 'metadata', 2, undef | ||||
282 | #line 283 "Parser.yp" | ||||
283 | { for ($_[3]) { s/^'//; s/'$//; | ||||
284 | s/\\'/'/g }; | ||||
285 | #line 286 "Parser.yp" | ||||
286 | #line 287 "Parser.yp" | ||||
287 | { [ @_[1,3] ] } | ||||
288 | ], | ||||
289 | [#Rule 103 | ||||
290 | 'term', 1, undef | ||||
291 | ], | ||||
292 | [#Rule 104 | ||||
293 | 'term', 1, undef | ||||
294 | ], | ||||
295 | [#Rule 105 | ||||
296 | 'lterm', 3, | ||||
297 | sub | ||||
298 | #line 299 "Parser.yp" | ||||
299 | 1 | 6µs | # spent 3µs within Template::Grammar::__ANON__[Parser.yp:299] which was called:
# once (3µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm | ||
300 | #line 301 "Parser.yp" | ||||
301 | #line 302 "Parser.yp" | ||||
302 | { "{ $_[2] }" } | ||||
303 | ], | ||||
304 | #line 305 "Parser.yp" | ||||
305 | 643 | 3.59ms | 643 | 5.13ms | # spent 9.74ms (4.61+5.13) within Template::Grammar::__ANON__[Parser.yp:305] which was called 643 times, avg 15µs/call:
# 643 times (4.61ms+5.13ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 15µs/call # spent 5.13ms making 643 calls to Template::Directive::ident, avg 8µs/call |
306 | #line 307 "Parser.yp" | ||||
307 | 1 | 17µs | 1 | 14µs | # spent 33µs (20+14) within Template::Grammar::__ANON__[Parser.yp:307] which was called:
# once (20µs+14µs) by Template::Parser::_parse at line 872 of Template/Parser.pm # spent 14µs making 1 call to Template::Directive::quoted |
308 | ], | ||||
309 | [#Rule 112 | ||||
310 | 'sterm', 1, undef | ||||
311 | #line 312 "Parser.yp" | ||||
312 | 4 | 17µs | # spent 9µs within Template::Grammar::__ANON__[Parser.yp:312] which was called 4 times, avg 2µs/call:
# 4 times (9µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 2µs/call | ||
313 | ], | ||||
314 | [#Rule 115 | ||||
315 | 'list', 2, undef | ||||
316 | #line 317 "Parser.yp" | ||||
317 | { $_[1] . '..' . $_[3] } | ||||
318 | ], | ||||
319 | [#Rule 118 | ||||
320 | 'hash', 1, undef | ||||
321 | #line 322 "Parser.yp" | ||||
322 | { "" } | ||||
323 | ], | ||||
324 | #line 325 "Parser.yp" | ||||
325 | { "$_[1], $_[2]" } | ||||
326 | ], | ||||
327 | [#Rule 121 | ||||
328 | 'params', 2, undef | ||||
329 | #line 330 "Parser.yp" | ||||
330 | #line 331 "Parser.yp" | ||||
331 | { "$_[1] => $_[3]" } | ||||
332 | ], | ||||
333 | #line 334 "Parser.yp" | ||||
334 | 546 | 1.54ms | # spent 1.10ms within Template::Grammar::__ANON__[Parser.yp:334] which was called 273 times, avg 4µs/call:
# 273 times (1.10ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call | ||
335 | { push(@{$_[1]}, | ||||
336 | map {($_, 0)} split(/\./, $_[3])); | ||||
337 | $_[1]; } | ||||
338 | ], | ||||
339 | [#Rule 127 | ||||
340 | #line 341 "Parser.yp" | ||||
341 | 915 | 3.85ms | # spent 2.83ms within Template::Grammar::__ANON__[Parser.yp:341] which was called 915 times, avg 3µs/call:
# 915 times (2.83ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call | ||
342 | 4 | 34µs | 4 | 32µs | # spent 72µs (40+32) within Template::Grammar::__ANON__[Parser.yp:342] which was called 4 times, avg 18µs/call:
# 4 times (40µs+32µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 18µs/call # spent 32µs making 4 calls to Template::Directive::args, avg 8µs/call |
343 | ], | ||||
344 | #line 345 "Parser.yp" | ||||
345 | 919 | 4.83ms | # spent 3.13ms within Template::Grammar::__ANON__[Parser.yp:345] which was called 919 times, avg 3µs/call:
# 919 times (3.13ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call | ||
346 | #line 347 "Parser.yp" | ||||
347 | { $_[0]->{ V1DOLLAR } | ||||
348 | ? "'$_[2]'" | ||||
349 | : $factory->ident(["'$_[2]'", 0]) } | ||||
350 | ], | ||||
351 | #line 352 "Parser.yp" | ||||
352 | #line 353 "Parser.yp" | ||||
353 | #line 354 "Parser.yp" | ||||
354 | #line 355 "Parser.yp" | ||||
355 | #line 356 "Parser.yp" | ||||
356 | #line 357 "Parser.yp" | ||||
357 | 23 | 175µs | # spent 126µs within Template::Grammar::__ANON__[Parser.yp:357] which was called 23 times, avg 5µs/call:
# 23 times (126µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 5µs/call | ||
358 | #line 359 "Parser.yp" | ||||
359 | 12 | 52µs | # spent 41µs within Template::Grammar::__ANON__[Parser.yp:359] which was called 12 times, avg 3µs/call:
# 12 times (41µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call | ||
360 | 9 | 53µs | # spent 34µs within Template::Grammar::__ANON__[Parser.yp:360] which was called 9 times, avg 4µs/call:
# 9 times (34µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call | ||
361 | 1 | 10µs | # spent 4µs within Template::Grammar::__ANON__[Parser.yp:361] which was called:
# once (4µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm | ||
362 | #line 363 "Parser.yp" | ||||
363 | #line 364 "Parser.yp" | ||||
364 | 276 | 1.43ms | # spent 1.08ms within Template::Grammar::__ANON__[Parser.yp:364] which was called 276 times, avg 4µs/call:
# 276 times (1.08ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call | ||
365 | ], | ||||
366 | [#Rule 146 | ||||
367 | #line 368 "Parser.yp" | ||||
368 | { push(@{$_[1]}, @{$_[2]}); $_[1] } | ||||
369 | ], | ||||
370 | [#Rule 148 | ||||
371 | 'setlist', 2, undef | ||||
372 | ], | ||||
373 | #line 374 "Parser.yp" | ||||
374 | 3 | 13µs | # spent 8µs within Template::Grammar::__ANON__[Parser.yp:374] which was called 3 times, avg 3µs/call:
# 3 times (8µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call | ||
375 | { [ @_[1,3] ] } | ||||
376 | ], | ||||
377 | [#Rule 152 | ||||
378 | 'args', 2, | ||||
379 | sub | ||||
380 | |||||
381 | #line 382 "Parser.yp" | ||||
382 | 18 | 44µs | # spent 29µs within Template::Grammar::__ANON__[Parser.yp:382] which was called 9 times, avg 3µs/call:
# 9 times (29µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call | ||
383 | #line 384 "Parser.yp" | ||||
384 | { push(@{$_[1]->[0]}, "'', " . | ||||
385 | #line 386 "Parser.yp" | ||||
386 | 3 | 10µs | # spent 5µs within Template::Grammar::__ANON__[Parser.yp:386] which was called 3 times, avg 2µs/call:
# 3 times (5µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 2µs/call | ||
387 | 113 | 456µs | # spent 400µs within Template::Grammar::__ANON__[Parser.yp:387] which was called 113 times, avg 4µs/call:
# 113 times (400µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call | ||
388 | ], | ||||
389 | [#Rule 157 | ||||
390 | 'lnameargs', 3, | ||||
391 | sub | ||||
392 | |||||
- - | |||||
396 | #line 397 "Parser.yp" | ||||
397 | { push(@{$_[3]}, $_[1]); $_[3] } | ||||
398 | ], | ||||
399 | [#Rule 158 | ||||
400 | 'lnameargs', 1, undef | ||||
401 | #line 402 "Parser.yp" | ||||
402 | { $factory->quoted($_[2]) } | ||||
403 | ], | ||||
404 | [#Rule 161 | ||||
405 | #line 406 "Parser.yp" | ||||
406 | #line 407 "Parser.yp" | ||||
407 | 79 | 409µs | # spent 274µs within Template::Grammar::__ANON__[Parser.yp:407] which was called 79 times, avg 3µs/call:
# 79 times (274µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call | ||
408 | 3 | 14µs | # spent 10µs within Template::Grammar::__ANON__[Parser.yp:408] which was called 3 times, avg 3µs/call:
# 3 times (10µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call | ||
409 | ], | ||||
410 | #line 411 "Parser.yp" | ||||
411 | #line 412 "Parser.yp" | ||||
412 | 82 | 339µs | # spent 232µs within Template::Grammar::__ANON__[Parser.yp:412] which was called 82 times, avg 3µs/call:
# 82 times (232µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call | ||
413 | ], | ||||
414 | #line 415 "Parser.yp" | ||||
415 | #line 416 "Parser.yp" | ||||
416 | 74 | 370µs | # spent 303µs within Template::Grammar::__ANON__[Parser.yp:416] which was called 74 times, avg 4µs/call:
# 74 times (303µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call | ||
417 | ], | ||||
418 | [#Rule 169 | ||||
419 | #line 420 "Parser.yp" | ||||
420 | { "$_[1].$_[3]" } | ||||
421 | ], | ||||
422 | [#Rule 171 | ||||
423 | 'filename', 1, undef | ||||
424 | ], | ||||
425 | [#Rule 172 | ||||
426 | 'filepart', 1, undef | ||||
427 | ], | ||||
428 | [#Rule 173 | ||||
429 | 'filepart', 1, undef | ||||
430 | ], | ||||
431 | [#Rule 174 | ||||
432 | 'filepart', 1, undef | ||||
433 | #line 434 "Parser.yp" | ||||
434 | 1 | 2µs | # spent 4µs within Template::Grammar::__ANON__[Parser.yp:435] which was called:
# once (4µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm | ||
435 | 1 | 5µs | #line 436 "Parser.yp" | ||
436 | 1 | 6µs | # spent 3µs within Template::Grammar::__ANON__[Parser.yp:436] which was called:
# once (3µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm | ||
437 | ], | ||||
438 | #line 439 "Parser.yp" | ||||
439 | #line 440 "Parser.yp" | ||||
440 | 1 | 8µs | 1 | 18µs | # spent 27µs (9+18) within Template::Grammar::__ANON__[Parser.yp:440] which was called:
# once (9µs+18µs) by Template::Parser::_parse at line 872 of Template/Parser.pm # spent 18µs making 1 call to Template::Directive::text |
441 | { undef } | ||||
442 | 1 | 709µs | ] | ||
443 | ]; | ||||
444 | |||||
- - | |||||
447 | 1 | 1.07ms | 1; | ||
448 | |||||
449 | __END__ |