← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 17:10:45 2013
Reported on Tue Oct 15 17:12:56 2013

Filename/tmp/Parser.yp
StatementsExecuted 10038 statements in 57.4ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
626117.23ms19.0msTemplate::Grammar::::__ANON__[Parser.yp:79]Template::Grammar::__ANON__[Parser.yp:79]
914116.52ms48.2msTemplate::Grammar::::__ANON__[Parser.yp:76]Template::Grammar::__ANON__[Parser.yp:76]
1124116.05ms6.05msTemplate::Grammar::::__ANON__[Parser.yp:72]Template::Grammar::__ANON__[Parser.yp:72]
643115.98ms12.1msTemplate::Grammar::::__ANON__[Parser.yp:305]Template::Grammar::__ANON__[Parser.yp:305]
919114.42ms4.42msTemplate::Grammar::::__ANON__[Parser.yp:345]Template::Grammar::__ANON__[Parser.yp:345]
416114.10ms8.50msTemplate::Grammar::::__ANON__[Parser.yp:67]Template::Grammar::__ANON__[Parser.yp:67]
915114.05ms4.05msTemplate::Grammar::::__ANON__[Parser.yp:341]Template::Grammar::__ANON__[Parser.yp:341]
273112.84ms7.36msTemplate::Grammar::::__ANON__[Parser.yp:141]Template::Grammar::__ANON__[Parser.yp:141]
236112.30ms3.74msTemplate::Grammar::::__ANON__[Parser.yp:90]Template::Grammar::__ANON__[Parser.yp:90]
416111.78ms1.78msTemplate::Grammar::::__ANON__[Parser.yp:73]Template::Grammar::__ANON__[Parser.yp:73]
273111.74ms1.74msTemplate::Grammar::::__ANON__[Parser.yp:334]Template::Grammar::__ANON__[Parser.yp:334]
276111.17ms1.17msTemplate::Grammar::::__ANON__[Parser.yp:364]Template::Grammar::__ANON__[Parser.yp:364]
19211729µs729µsTemplate::Grammar::::__ANON__[Parser.yp:152]Template::Grammar::__ANON__[Parser.yp:152]
6711653µs1.07msTemplate::Grammar::::__ANON__[Parser.yp:109]Template::Grammar::__ANON__[Parser.yp:109]
7411639µs2.70msTemplate::Grammar::::__ANON__[Parser.yp:229]Template::Grammar::__ANON__[Parser.yp:229]
2711544µs2.86msTemplate::Grammar::::__ANON__[Parser.yp:168]Template::Grammar::__ANON__[Parser.yp:168]
9311403µs403µsTemplate::Grammar::::__ANON__[Parser.yp:151]Template::Grammar::__ANON__[Parser.yp:151]
11311371µs371µsTemplate::Grammar::::__ANON__[Parser.yp:387]Template::Grammar::__ANON__[Parser.yp:387]
7911329µs329µsTemplate::Grammar::::__ANON__[Parser.yp:407]Template::Grammar::__ANON__[Parser.yp:407]
7411327µs327µsTemplate::Grammar::::__ANON__[Parser.yp:416]Template::Grammar::__ANON__[Parser.yp:416]
8211315µs315µsTemplate::Grammar::::__ANON__[Parser.yp:412]Template::Grammar::__ANON__[Parser.yp:412]
2711275µs610µsTemplate::Grammar::::__ANON__[Parser.yp:167]Template::Grammar::__ANON__[Parser.yp:167]
1211158µs320µsTemplate::Grammar::::__ANON__[Parser.yp:144]Template::Grammar::__ANON__[Parser.yp:144]
811151µs1.20msTemplate::Grammar::::__ANON__[Parser.yp:64]Template::Grammar::__ANON__[Parser.yp:64]
2711143µs143µsTemplate::Grammar::::__ANON__[Parser.yp:176]Template::Grammar::__ANON__[Parser.yp:176]
231197µs97µsTemplate::Grammar::::__ANON__[Parser.yp:357]Template::Grammar::__ANON__[Parser.yp:357]
121178µs78µsTemplate::Grammar::::__ANON__[Parser.yp:359]Template::Grammar::__ANON__[Parser.yp:359]
91171µs71µsTemplate::Grammar::::__ANON__[Parser.yp:382]Template::Grammar::__ANON__[Parser.yp:382]
81158µs251µsTemplate::Grammar::::__ANON__[Parser.yp:118]Template::Grammar::__ANON__[Parser.yp:118]
41152µs85µsTemplate::Grammar::::__ANON__[Parser.yp:342]Template::Grammar::__ANON__[Parser.yp:342]
91137µs37µsTemplate::Grammar::::__ANON__[Parser.yp:360]Template::Grammar::__ANON__[Parser.yp:360]
41128µs28µsTemplate::Grammar::::__ANON__[Parser.yp:150]Template::Grammar::__ANON__[Parser.yp:150]
31122µs109µsTemplate::Grammar::::__ANON__[Parser.yp:115]Template::Grammar::__ANON__[Parser.yp:115]
41117µs17µsTemplate::Grammar::::__ANON__[Parser.yp:312]Template::Grammar::__ANON__[Parser.yp:312]
31113µs13µsTemplate::Grammar::::__ANON__[Parser.yp:408]Template::Grammar::__ANON__[Parser.yp:408]
11113µs19µsTemplate::Grammar::::__ANON__[Parser.yp:145]Template::Grammar::__ANON__[Parser.yp:145]
11113µs21µsTemplate::Grammar::::__ANON__[Parser.yp:307]Template::Grammar::__ANON__[Parser.yp:307]
11111µs14µsTemplate::Grammar::::__ANON__[Parser.yp:68]Template::Grammar::__ANON__[Parser.yp:68]
11111µs30µsTemplate::Grammar::::__ANON__[Parser.yp:440]Template::Grammar::__ANON__[Parser.yp:440]
3119µs9µsTemplate::Grammar::::__ANON__[Parser.yp:374]Template::Grammar::__ANON__[Parser.yp:374]
3119µs9µsTemplate::Grammar::::__ANON__[Parser.yp:386]Template::Grammar::__ANON__[Parser.yp:386]
1117µs7µsTemplate::Grammar::::__ANON__[Parser.yp:361]Template::Grammar::__ANON__[Parser.yp:361]
1117µs7µsTemplate::Grammar::::__ANON__[Parser.yp:299]Template::Grammar::__ANON__[Parser.yp:299]
1116µs6µsTemplate::Grammar::::__ANON__[Parser.yp:435]Template::Grammar::__ANON__[Parser.yp:435]
1114µs4µsTemplate::Grammar::::__ANON__[Parser.yp:436]Template::Grammar::__ANON__[Parser.yp:436]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:113]Template::Grammar::__ANON__[Parser.yp:113]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:114]Template::Grammar::__ANON__[Parser.yp:114]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:116]Template::Grammar::__ANON__[Parser.yp:116]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:117]Template::Grammar::__ANON__[Parser.yp:117]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:119]Template::Grammar::__ANON__[Parser.yp:119]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:120]Template::Grammar::__ANON__[Parser.yp:120]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:121]Template::Grammar::__ANON__[Parser.yp:121]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:122]Template::Grammar::__ANON__[Parser.yp:122]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:123]Template::Grammar::__ANON__[Parser.yp:123]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:124]Template::Grammar::__ANON__[Parser.yp:124]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:127]Template::Grammar::__ANON__[Parser.yp:127]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:135]Template::Grammar::__ANON__[Parser.yp:135]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:142]Template::Grammar::__ANON__[Parser.yp:142]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:156]Template::Grammar::__ANON__[Parser.yp:156]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:161]Template::Grammar::__ANON__[Parser.yp:161]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:162]Template::Grammar::__ANON__[Parser.yp:162]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:163]Template::Grammar::__ANON__[Parser.yp:163]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:164]Template::Grammar::__ANON__[Parser.yp:164]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:169]Template::Grammar::__ANON__[Parser.yp:169]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:170]Template::Grammar::__ANON__[Parser.yp:170]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:171]Template::Grammar::__ANON__[Parser.yp:171]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:172]Template::Grammar::__ANON__[Parser.yp:172]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:175]Template::Grammar::__ANON__[Parser.yp:175]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:177]Template::Grammar::__ANON__[Parser.yp:177]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:181]Template::Grammar::__ANON__[Parser.yp:181]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:183]Template::Grammar::__ANON__[Parser.yp:183]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:187]Template::Grammar::__ANON__[Parser.yp:187]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:192]Template::Grammar::__ANON__[Parser.yp:192]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:195]Template::Grammar::__ANON__[Parser.yp:195]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:198]Template::Grammar::__ANON__[Parser.yp:198]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:199]Template::Grammar::__ANON__[Parser.yp:199]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:200]Template::Grammar::__ANON__[Parser.yp:200]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:203]Template::Grammar::__ANON__[Parser.yp:203]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:206]Template::Grammar::__ANON__[Parser.yp:206]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:208]Template::Grammar::__ANON__[Parser.yp:208]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:211]Template::Grammar::__ANON__[Parser.yp:211]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:215]Template::Grammar::__ANON__[Parser.yp:215]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:219]Template::Grammar::__ANON__[Parser.yp:219]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:223]Template::Grammar::__ANON__[Parser.yp:223]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:227]Template::Grammar::__ANON__[Parser.yp:227]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:238]Template::Grammar::__ANON__[Parser.yp:238]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:243]Template::Grammar::__ANON__[Parser.yp:243]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:247]Template::Grammar::__ANON__[Parser.yp:247]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:258]Template::Grammar::__ANON__[Parser.yp:258]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:261]Template::Grammar::__ANON__[Parser.yp:261]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:265]Template::Grammar::__ANON__[Parser.yp:265]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:266]Template::Grammar::__ANON__[Parser.yp:266]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:270]Template::Grammar::__ANON__[Parser.yp:270]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:273]Template::Grammar::__ANON__[Parser.yp:273]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:274]Template::Grammar::__ANON__[Parser.yp:274]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:275]Template::Grammar::__ANON__[Parser.yp:275]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:278]Template::Grammar::__ANON__[Parser.yp:278]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:285]Template::Grammar::__ANON__[Parser.yp:285]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:286]Template::Grammar::__ANON__[Parser.yp:286]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:287]Template::Grammar::__ANON__[Parser.yp:287]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:300]Template::Grammar::__ANON__[Parser.yp:300]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:301]Template::Grammar::__ANON__[Parser.yp:301]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:302]Template::Grammar::__ANON__[Parser.yp:302]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:306]Template::Grammar::__ANON__[Parser.yp:306]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:317]Template::Grammar::__ANON__[Parser.yp:317]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:322]Template::Grammar::__ANON__[Parser.yp:322]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:325]Template::Grammar::__ANON__[Parser.yp:325]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:330]Template::Grammar::__ANON__[Parser.yp:330]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:331]Template::Grammar::__ANON__[Parser.yp:331]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:337]Template::Grammar::__ANON__[Parser.yp:337]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:346]Template::Grammar::__ANON__[Parser.yp:346]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:349]Template::Grammar::__ANON__[Parser.yp:349]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:352]Template::Grammar::__ANON__[Parser.yp:352]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:353]Template::Grammar::__ANON__[Parser.yp:353]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:354]Template::Grammar::__ANON__[Parser.yp:354]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:355]Template::Grammar::__ANON__[Parser.yp:355]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:356]Template::Grammar::__ANON__[Parser.yp:356]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:358]Template::Grammar::__ANON__[Parser.yp:358]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:362]Template::Grammar::__ANON__[Parser.yp:362]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:363]Template::Grammar::__ANON__[Parser.yp:363]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:368]Template::Grammar::__ANON__[Parser.yp:368]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:375]Template::Grammar::__ANON__[Parser.yp:375]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:383]Template::Grammar::__ANON__[Parser.yp:383]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:385]Template::Grammar::__ANON__[Parser.yp:385]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:397]Template::Grammar::__ANON__[Parser.yp:397]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:402]Template::Grammar::__ANON__[Parser.yp:402]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:406]Template::Grammar::__ANON__[Parser.yp:406]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:411]Template::Grammar::__ANON__[Parser.yp:411]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:415]Template::Grammar::__ANON__[Parser.yp:415]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:420]Template::Grammar::__ANON__[Parser.yp:420]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:439]Template::Grammar::__ANON__[Parser.yp:439]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:441]Template::Grammar::__ANON__[Parser.yp:441]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:91]Template::Grammar::__ANON__[Parser.yp:91]
0000s0sTemplate::Grammar::::__ANON__[Parser.yp:95]Template::Grammar::__ANON__[Parser.yp:95]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
- -
63#line 64 "Parser.yp"
64868µs81.04ms
# spent 1.20ms (151µs+1.04) within Template::Grammar::__ANON__[Parser.yp:64] which was called 8 times, avg 150µs/call: # 8 times (151µs+1.04ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 150µs/call
{ $factory->template($_[1]) }
# spent 1.04ms making 8 calls to Template::Directive::template, avg 131µs/call
65 ],
66#line 67 "Parser.yp"
674162.94ms4164.40ms
# spent 8.50ms (4.10+4.40) within Template::Grammar::__ANON__[Parser.yp:67] which was called 416 times, avg 20µs/call: # 416 times (4.10ms+4.40ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 20µs/call
#line 68 "Parser.yp"
# spent 4.40ms making 416 calls to Template::Directive::block, avg 11µs/call
6817µs13µs
# spent 14µs (11+3) within Template::Grammar::__ANON__[Parser.yp:68] which was called: # once (11µs+3µs) by Template::Parser::_parse at line 872 of Template/Parser.pm
{ $factory->block() }
# spent 3µs making 1 call to Template::Directive::block
69 ],
70#line 71 "Parser.yp"
7111242.48ms
# spent 6.05ms within Template::Grammar::__ANON__[Parser.yp:72] which was called 1124 times, avg 5µs/call: # 1124 times (6.05ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 5µs/call
{ push(@{$_[1]}, $_[2])
7211245.13ms#line 73 "Parser.yp"
734162.55ms
# spent 1.78ms within Template::Grammar::__ANON__[Parser.yp:73] which was called 416 times, avg 4µs/call: # 416 times (1.78ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
{ defined $_[1] ? [ $_[1] ] : [ ] }
74 ],
75#line 76 "Parser.yp"
769145.95ms91441.7ms
# spent 48.2ms (6.52+41.7) within Template::Grammar::__ANON__[Parser.yp:76] which was called 914 times, avg 53µs/call: # 914 times (6.52ms+41.7ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 53µs/call
#line 77 "Parser.yp"
# spent 41.7ms making 914 calls to Template::Directive::textblock, avg 46µs/call
77626541µs
# spent 19.0ms (7.23+11.8) within Template::Grammar::__ANON__[Parser.yp:79] which was called 626 times, avg 30µs/call: # 626 times (7.23ms+11.8ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 30µs/call
{ return '' unless $_[1];
786265.95ms62611.8ms $_[0]->location() . $_[1];
# spent 11.8ms making 626 calls to Template::Parser::location, avg 19µ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"
902361.61ms2361.44ms
# spent 3.74ms (2.30+1.44) within Template::Grammar::__ANON__[Parser.yp:90] which was called 236 times, avg 16µs/call: # 236 times (2.30ms+1.44ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 16µs/call
#line 91 "Parser.yp"
# spent 1.44ms 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"
10967568µs67416µs
# spent 1.07ms (653µs+416µs) within Template::Grammar::__ANON__[Parser.yp:109] which was called 67 times, avg 16µs/call: # 67 times (653µs+416µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 16µs/call
{ $factory->get($_[1]) }
# spent 416µs making 67 calls to Template::Directive::get, avg 6µs/call
110 ],
111 [#Rule 27
112#line 113 "Parser.yp"
113#line 114 "Parser.yp"
114#line 115 "Parser.yp"
115327µs387µs
# spent 109µs (22+87) within Template::Grammar::__ANON__[Parser.yp:115] which was called 3 times, avg 36µs/call: # 3 times (22µs+87µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 36µs/call
#line 116 "Parser.yp"
# spent 87µs making 3 calls to Template::Directive::set, avg 29µs/call
116#line 117 "Parser.yp"
117#line 118 "Parser.yp"
118853µs8193µs
# spent 251µs (58+193) within Template::Grammar::__ANON__[Parser.yp:118] which was called 8 times, avg 31µs/call: # 8 times (58µs+193µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 31µs/call
#line 119 "Parser.yp"
# spent 193µs making 8 calls to Template::Directive::include, avg 24µ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"
1412732.16ms2734.52ms
# spent 7.36ms (2.84+4.52) within Template::Grammar::__ANON__[Parser.yp:141] which was called 273 times, avg 27µs/call: # 273 times (2.84ms+4.52ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 27µs/call
#line 142 "Parser.yp"
# spent 4.52ms making 273 calls to Template::Directive::if, avg 17µs/call
142{ $factory->if(@_[3, 1]) }
143#line 144 "Parser.yp"
14412118µs12162µs
# spent 320µs (158+161) within Template::Grammar::__ANON__[Parser.yp:144] which was called 12 times, avg 27µs/call: # 12 times (158µs+161µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 27µs/call
#line 145 "Parser.yp"
# spent 162µs making 12 calls to Template::Directive::if, avg 13µs/call
145114µs16µs
# spent 19µs (13+6) within Template::Grammar::__ANON__[Parser.yp:145] which was called: # once (13µs+6µs) by Template::Parser::_parse at line 872 of Template/Parser.pm
{ $factory->if("!($_[3])", $_[1]) }
# spent 6µs making 1 call to Template::Directive::if
146 ],
147 [#Rule 48
148#line 149 "Parser.yp"
149415µs
# spent 28µs within Template::Grammar::__ANON__[Parser.yp:150] which was called 4 times, avg 7µs/call: # 4 times (28µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 7µs/call
{ unshift(@{$_[5]}, [ @_[2, 4] ]);
150428µs#line 151 "Parser.yp"
15193464µs
# spent 403µs within Template::Grammar::__ANON__[Parser.yp:151] which was called 93 times, avg 4µs/call: # 93 times (403µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
#line 152 "Parser.yp"
152192917µs
# spent 729µs within Template::Grammar::__ANON__[Parser.yp:152] which was called 192 times, avg 4µs/call: # 192 times (729µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
{ [ undef ] }
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"
16727206µs27335µs
# spent 610µs (275+335) within Template::Grammar::__ANON__[Parser.yp:167] which was called 27 times, avg 23µs/call: # 27 times (275µs+335µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 23µs/call
#line 168 "Parser.yp"
# spent 335µs making 27 calls to Template::Parser::enter_block, avg 12µs/call
16827489µs542.32ms
# spent 2.86ms (544µs+2.32) within Template::Grammar::__ANON__[Parser.yp:168] which was called 27 times, avg 106µs/call: # 27 times (544µs+2.32ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 106µs/call
#line 169 "Parser.yp"
# spent 1.40ms making 27 calls to Template::Directive::foreach, avg 52µs/call # spent 923µs making 27 calls to Template::Parser::leave_block, avg 34µ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"
17627190µs
# spent 143µs within Template::Grammar::__ANON__[Parser.yp:176] which was called 27 times, avg 5µs/call: # 27 times (143µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 5µs/call
#line 177 "Parser.yp"
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"
22974522µs742.06ms
# spent 2.70ms (639µs+2.06) within Template::Grammar::__ANON__[Parser.yp:229] which was called 74 times, avg 36µs/call: # 74 times (639µs+2.06ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 36µs/call
{ $factory->filter(@_[3,1]) }
# spent 2.06ms making 74 calls to Template::Directive::filter, avg 28µ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,
297sub
298#line 299 "Parser.yp"
299110µs
# spent 7µs within Template::Grammar::__ANON__[Parser.yp:299] which was called: # once (7µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm
#line 300 "Parser.yp"
300#line 301 "Parser.yp"
301#line 302 "Parser.yp"
302{ "{ $_[2] }" }
303 ],
304#line 305 "Parser.yp"
3056434.20ms6436.07ms
# spent 12.1ms (5.98+6.07) within Template::Grammar::__ANON__[Parser.yp:305] which was called 643 times, avg 19µs/call: # 643 times (5.98ms+6.07ms) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 19µs/call
#line 306 "Parser.yp"
# spent 6.07ms making 643 calls to Template::Directive::ident, avg 9µs/call
306#line 307 "Parser.yp"
307111µs18µs
# spent 21µs (13+8) within Template::Grammar::__ANON__[Parser.yp:307] which was called: # once (13µs+8µs) by Template::Parser::_parse at line 872 of Template/Parser.pm
{ $factory->quoted($_[2]) }
# spent 8µs making 1 call to Template::Directive::quoted
308 ],
309 [#Rule 112
310 'sterm', 1, undef
311#line 312 "Parser.yp"
312429µs
# spent 17µs within Template::Grammar::__ANON__[Parser.yp:312] which was called 4 times, avg 4µs/call: # 4 times (17µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
{ "$_[1], $_[2]" }
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"
3345462.61ms
# spent 1.74ms within Template::Grammar::__ANON__[Parser.yp:334] which was called 273 times, avg 6µs/call: # 273 times (1.74ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 6µs/call
#line 335 "Parser.yp"
335{ push(@{$_[1]},
336 map {($_, 0)} split(/\./, $_[3]));
337 $_[1]; }
338 ],
339 [#Rule 127
340#line 341 "Parser.yp"
3419155.69ms
# spent 4.05ms within Template::Grammar::__ANON__[Parser.yp:341] which was called 915 times, avg 4µs/call: # 915 times (4.05ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
#line 342 "Parser.yp"
342439µs433µs
# spent 85µs (52+33) within Template::Grammar::__ANON__[Parser.yp:342] which was called 4 times, avg 21µs/call: # 4 times (52µs+33µs) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 21µs/call
{ [ $_[1], $factory->args($_[3]) ] }
# spent 33µs making 4 calls to Template::Directive::args, avg 8µs/call
343 ],
344#line 345 "Parser.yp"
3459196.26ms
# spent 4.42ms within Template::Grammar::__ANON__[Parser.yp:345] which was called 919 times, avg 5µs/call: # 919 times (4.42ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 5µs/call
#line 346 "Parser.yp"
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"
35723143µs
# spent 97µs within Template::Grammar::__ANON__[Parser.yp:357] which was called 23 times, avg 4µs/call: # 23 times (97µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
#line 358 "Parser.yp"
358#line 359 "Parser.yp"
3591268µs
# spent 78µs within Template::Grammar::__ANON__[Parser.yp:359] which was called 12 times, avg 7µs/call: # 12 times (78µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 7µs/call
#line 360 "Parser.yp"
3609101µs
# spent 37µs within Template::Grammar::__ANON__[Parser.yp:360] which was called 9 times, avg 4µs/call: # 9 times (37µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
#line 361 "Parser.yp"
361114µs
# spent 7µs within Template::Grammar::__ANON__[Parser.yp:361] which was called: # once (7µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm
#line 362 "Parser.yp"
362#line 363 "Parser.yp"
363#line 364 "Parser.yp"
3642761.73ms
# spent 1.17ms within Template::Grammar::__ANON__[Parser.yp:364] which was called 276 times, avg 4µs/call: # 276 times (1.17ms+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
{ "($_[2])" }
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"
374314µs
# spent 9µs within Template::Grammar::__ANON__[Parser.yp:374] which was called 3 times, avg 3µs/call: # 3 times (9µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call
#line 375 "Parser.yp"
375{ [ @_[1,3] ] }
376 ],
377 [#Rule 152
378 'args', 2,
379sub
380
381#line 382 "Parser.yp"
3821890µs
# spent 71µs within Template::Grammar::__ANON__[Parser.yp:382] which was called 9 times, avg 8µs/call: # 9 times (71µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 8µs/call
#line 383 "Parser.yp"
383#line 384 "Parser.yp"
384{ push(@{$_[1]->[0]}, "'', " .
385#line 386 "Parser.yp"
386314µs
# spent 9µs within Template::Grammar::__ANON__[Parser.yp:386] which was called 3 times, avg 3µs/call: # 3 times (9µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call
#line 387 "Parser.yp"
387113556µs
# spent 371µs within Template::Grammar::__ANON__[Parser.yp:387] which was called 113 times, avg 3µs/call: # 113 times (371µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 3µs/call
{ [ [ ] ] }
388 ],
389 [#Rule 157
390 'lnameargs', 3,
391sub
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"
40779416µs
# spent 329µs within Template::Grammar::__ANON__[Parser.yp:407] which was called 79 times, avg 4µs/call: # 79 times (329µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
#line 408 "Parser.yp"
408353µs
# spent 13µs within Template::Grammar::__ANON__[Parser.yp:408] which was called 3 times, avg 4µs/call: # 3 times (13µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
{ [ @_[1,3] ] }
409 ],
410#line 411 "Parser.yp"
411#line 412 "Parser.yp"
41282461µs
# spent 315µs within Template::Grammar::__ANON__[Parser.yp:412] which was called 82 times, avg 4µs/call: # 82 times (315µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
{ [ $_[1] ] }
413 ],
414#line 415 "Parser.yp"
415#line 416 "Parser.yp"
41674442µs
# spent 327µs within Template::Grammar::__ANON__[Parser.yp:416] which was called 74 times, avg 4µs/call: # 74 times (327µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm, avg 4µs/call
{ "'$_[1]'" }
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"
43412µs
# spent 6µs within Template::Grammar::__ANON__[Parser.yp:435] which was called: # once (6µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm
{ push(@{$_[1]}, $_[2])
43516µs#line 436 "Parser.yp"
43618µs
# spent 4µs within Template::Grammar::__ANON__[Parser.yp:436] which was called: # once (4µs+0s) by Template::Parser::_parse at line 872 of Template/Parser.pm
{ [ ] }
437 ],
438#line 439 "Parser.yp"
439#line 440 "Parser.yp"
440111µs119µs
# spent 30µs (11+19) within Template::Grammar::__ANON__[Parser.yp:440] which was called: # once (11µs+19µs) by Template::Parser::_parse at line 872 of Template/Parser.pm
#line 441 "Parser.yp"
# spent 19µs making 1 call to Template::Directive::text
441{ undef }
4421471µs ]
443];
444
- -
4471926µs1;
448
449__END__