← 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 11:58:52 2013
Reported on Tue Oct 15 12:01:08 2013

Filename/tmp/Parser.yp
StatementsExecuted 10038 statements in 58.5ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
9141116.8ms51.5msTemplate::Grammar::::__ANON__[Parser.yp:76]Template::Grammar::__ANON__[Parser.yp:76]
626115.89ms16.7msTemplate::Grammar::::__ANON__[Parser.yp:79]Template::Grammar::__ANON__[Parser.yp:79]
1124114.66ms4.66msTemplate::Grammar::::__ANON__[Parser.yp:72]Template::Grammar::__ANON__[Parser.yp:72]
643114.61ms9.74msTemplate::Grammar::::__ANON__[Parser.yp:305]Template::Grammar::__ANON__[Parser.yp:305]
416113.35ms7.64msTemplate::Grammar::::__ANON__[Parser.yp:67]Template::Grammar::__ANON__[Parser.yp:67]
919113.13ms3.13msTemplate::Grammar::::__ANON__[Parser.yp:345]Template::Grammar::__ANON__[Parser.yp:345]
915112.83ms2.83msTemplate::Grammar::::__ANON__[Parser.yp:341]Template::Grammar::__ANON__[Parser.yp:341]
273112.52ms6.84msTemplate::Grammar::::__ANON__[Parser.yp:141]Template::Grammar::__ANON__[Parser.yp:141]
236111.99ms3.34msTemplate::Grammar::::__ANON__[Parser.yp:90]Template::Grammar::__ANON__[Parser.yp:90]
416111.51ms1.51msTemplate::Grammar::::__ANON__[Parser.yp:73]Template::Grammar::__ANON__[Parser.yp:73]
273111.10ms1.10msTemplate::Grammar::::__ANON__[Parser.yp:334]Template::Grammar::__ANON__[Parser.yp:334]
276111.08ms1.08msTemplate::Grammar::::__ANON__[Parser.yp:364]Template::Grammar::__ANON__[Parser.yp:364]
7411818µs2.50msTemplate::Grammar::::__ANON__[Parser.yp:229]Template::Grammar::__ANON__[Parser.yp:229]
6711666µs1.03msTemplate::Grammar::::__ANON__[Parser.yp:109]Template::Grammar::__ANON__[Parser.yp:109]
19211595µs595µsTemplate::Grammar::::__ANON__[Parser.yp:152]Template::Grammar::__ANON__[Parser.yp:152]
2711416µs2.72msTemplate::Grammar::::__ANON__[Parser.yp:168]Template::Grammar::__ANON__[Parser.yp:168]
11311400µs400µsTemplate::Grammar::::__ANON__[Parser.yp:387]Template::Grammar::__ANON__[Parser.yp:387]
9311349µs349µsTemplate::Grammar::::__ANON__[Parser.yp:151]Template::Grammar::__ANON__[Parser.yp:151]
7411303µs303µsTemplate::Grammar::::__ANON__[Parser.yp:416]Template::Grammar::__ANON__[Parser.yp:416]
2711283µs570µsTemplate::Grammar::::__ANON__[Parser.yp:167]Template::Grammar::__ANON__[Parser.yp:167]
7911274µs274µsTemplate::Grammar::::__ANON__[Parser.yp:407]Template::Grammar::__ANON__[Parser.yp:407]
8211232µs232µsTemplate::Grammar::::__ANON__[Parser.yp:412]Template::Grammar::__ANON__[Parser.yp:412]
1211148µs306µsTemplate::Grammar::::__ANON__[Parser.yp:144]Template::Grammar::__ANON__[Parser.yp:144]
2311126µs126µsTemplate::Grammar::::__ANON__[Parser.yp:357]Template::Grammar::__ANON__[Parser.yp:357]
811125µs507µsTemplate::Grammar::::__ANON__[Parser.yp:64]Template::Grammar::__ANON__[Parser.yp:64]
2711123µs123µsTemplate::Grammar::::__ANON__[Parser.yp:176]Template::Grammar::__ANON__[Parser.yp:176]
81163µs211µsTemplate::Grammar::::__ANON__[Parser.yp:118]Template::Grammar::__ANON__[Parser.yp:118]
121141µs41µsTemplate::Grammar::::__ANON__[Parser.yp:359]Template::Grammar::__ANON__[Parser.yp:359]
41140µs72µsTemplate::Grammar::::__ANON__[Parser.yp:342]Template::Grammar::__ANON__[Parser.yp:342]
91134µs34µsTemplate::Grammar::::__ANON__[Parser.yp:360]Template::Grammar::__ANON__[Parser.yp:360]
91129µs29µsTemplate::Grammar::::__ANON__[Parser.yp:382]Template::Grammar::__ANON__[Parser.yp:382]
41129µs29µsTemplate::Grammar::::__ANON__[Parser.yp:150]Template::Grammar::__ANON__[Parser.yp:150]
31128µs119µsTemplate::Grammar::::__ANON__[Parser.yp:115]Template::Grammar::__ANON__[Parser.yp:115]
11120µs33µsTemplate::Grammar::::__ANON__[Parser.yp:307]Template::Grammar::__ANON__[Parser.yp:307]
11114µs19µsTemplate::Grammar::::__ANON__[Parser.yp:68]Template::Grammar::__ANON__[Parser.yp:68]
11112µs18µsTemplate::Grammar::::__ANON__[Parser.yp:145]Template::Grammar::__ANON__[Parser.yp:145]
31110µs10µsTemplate::Grammar::::__ANON__[Parser.yp:408]Template::Grammar::__ANON__[Parser.yp:408]
4119µs9µsTemplate::Grammar::::__ANON__[Parser.yp:312]Template::Grammar::__ANON__[Parser.yp:312]
1119µs27µsTemplate::Grammar::::__ANON__[Parser.yp:440]Template::Grammar::__ANON__[Parser.yp:440]
3118µs8µsTemplate::Grammar::::__ANON__[Parser.yp:374]Template::Grammar::__ANON__[Parser.yp:374]
3115µs5µsTemplate::Grammar::::__ANON__[Parser.yp:386]Template::Grammar::__ANON__[Parser.yp:386]
1114µs4µsTemplate::Grammar::::__ANON__[Parser.yp:435]Template::Grammar::__ANON__[Parser.yp:435]
1114µs4µsTemplate::Grammar::::__ANON__[Parser.yp:361]Template::Grammar::__ANON__[Parser.yp:361]
1113µs3µsTemplate::Grammar::::__ANON__[Parser.yp:436]Template::Grammar::__ANON__[Parser.yp:436]
1113µs3µsTemplate::Grammar::::__ANON__[Parser.yp:299]Template::Grammar::__ANON__[Parser.yp:299]
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µs8383µ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
{ $factory->template($_[1]) }
# spent 383µs making 8 calls to Template::Directive::template, avg 48µs/call
65 ],
66#line 67 "Parser.yp"
674162.38ms4164.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
#line 68 "Parser.yp"
# spent 4.29ms making 416 calls to Template::Directive::block, avg 10µs/call
68110µs15µ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
{ $factory->block() }
# spent 5µs making 1 call to Template::Directive::block
69 ],
70#line 71 "Parser.yp"
7122486.12ms
# 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
{ push(@{$_[1]}, $_[2])
72#line 73 "Parser.yp"
734161.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
{ defined $_[1] ? [ $_[1] ] : [ ] }
74 ],
75#line 76 "Parser.yp"
7691416.8ms91434.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
#line 77 "Parser.yp"
# spent 34.7ms making 914 calls to Template::Directive::textblock, avg 38µs/call
7712525.37ms
# 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
{ return '' unless $_[1];
7862610.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"
902361.64ms2361.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
#line 91 "Parser.yp"
# 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"
10967552µs67368µ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
{ $factory->get($_[1]) }
# 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"
115322µs392µ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
#line 116 "Parser.yp"
# spent 92µs making 3 calls to Template::Directive::set, avg 31µs/call
116#line 117 "Parser.yp"
117#line 118 "Parser.yp"
118852µs8148µ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
#line 119 "Parser.yp"
# 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"
1412731.81ms2734.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
#line 142 "Parser.yp"
# spent 4.32ms making 273 calls to Template::Directive::if, avg 16µs/call
142{ $factory->if(@_[3, 1]) }
143#line 144 "Parser.yp"
14412104µs12158µ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
#line 145 "Parser.yp"
# spent 158µs making 12 calls to Template::Directive::if, avg 13µs/call
145110µs17µ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
{ $factory->if("!($_[3])", $_[1]) }
# spent 7µs making 1 call to Template::Directive::if
146 ],
147 [#Rule 48
148#line 149 "Parser.yp"
149839µ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
{ unshift(@{$_[5]}, [ @_[2, 4] ]);
150#line 151 "Parser.yp"
15193474µ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
#line 152 "Parser.yp"
152192766µ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
{ [ 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"
16727216µs27287µ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
#line 168 "Parser.yp"
# spent 287µs making 27 calls to Template::Parser::enter_block, avg 11µs/call
16827355µs542.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
#line 169 "Parser.yp"
# 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"
17627159µ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
#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"
22974610µs741.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
{ $factory->filter(@_[3,1]) }
# 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,
297sub
298#line 299 "Parser.yp"
29916µ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
#line 300 "Parser.yp"
300#line 301 "Parser.yp"
301#line 302 "Parser.yp"
302{ "{ $_[2] }" }
303 ],
304#line 305 "Parser.yp"
3056433.59ms6435.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
#line 306 "Parser.yp"
# spent 5.13ms making 643 calls to Template::Directive::ident, avg 8µs/call
306#line 307 "Parser.yp"
307117µs114µ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
{ $factory->quoted($_[2]) }
# spent 14µs making 1 call to Template::Directive::quoted
308 ],
309 [#Rule 112
310 'sterm', 1, undef
311#line 312 "Parser.yp"
312417µ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
{ "$_[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"
3345461.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
#line 335 "Parser.yp"
335{ push(@{$_[1]},
336 map {($_, 0)} split(/\./, $_[3]));
337 $_[1]; }
338 ],
339 [#Rule 127
340#line 341 "Parser.yp"
3419153.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
#line 342 "Parser.yp"
342434µs432µ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
{ [ $_[1], $factory->args($_[3]) ] }
# spent 32µs making 4 calls to Template::Directive::args, avg 8µs/call
343 ],
344#line 345 "Parser.yp"
3459194.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
#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"
35723175µ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
#line 358 "Parser.yp"
358#line 359 "Parser.yp"
3591252µ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
#line 360 "Parser.yp"
360953µ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
#line 361 "Parser.yp"
361110µ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
#line 362 "Parser.yp"
362#line 363 "Parser.yp"
363#line 364 "Parser.yp"
3642761.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
{ "($_[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"
374313µ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
#line 375 "Parser.yp"
375{ [ @_[1,3] ] }
376 ],
377 [#Rule 152
378 'args', 2,
379sub
380
381#line 382 "Parser.yp"
3821844µ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
#line 383 "Parser.yp"
383#line 384 "Parser.yp"
384{ push(@{$_[1]->[0]}, "'', " .
385#line 386 "Parser.yp"
386310µ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
#line 387 "Parser.yp"
387113456µ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,
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"
40779409µ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
#line 408 "Parser.yp"
408314µ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
{ [ @_[1,3] ] }
409 ],
410#line 411 "Parser.yp"
411#line 412 "Parser.yp"
41282339µ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
{ [ $_[1] ] }
413 ],
414#line 415 "Parser.yp"
415#line 416 "Parser.yp"
41674370µ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
{ "'$_[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"
43427µ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
{ push(@{$_[1]}, $_[2])
435#line 436 "Parser.yp"
43616µ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"
44018µs118µ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
#line 441 "Parser.yp"
# spent 18µs making 1 call to Template::Directive::text
441{ undef }
4421709µs ]
443];
444
- -
44711.07ms1;
448
449__END__