| Filename | /tmp/Parser.yp |
| Statements | Executed 10038 statements in 57.4ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 626 | 1 | 1 | 7.23ms | 19.0ms | Template::Grammar::__ANON__[Parser.yp:79] |
| 914 | 1 | 1 | 6.52ms | 48.2ms | Template::Grammar::__ANON__[Parser.yp:76] |
| 1124 | 1 | 1 | 6.05ms | 6.05ms | Template::Grammar::__ANON__[Parser.yp:72] |
| 643 | 1 | 1 | 5.98ms | 12.1ms | Template::Grammar::__ANON__[Parser.yp:305] |
| 919 | 1 | 1 | 4.42ms | 4.42ms | Template::Grammar::__ANON__[Parser.yp:345] |
| 416 | 1 | 1 | 4.10ms | 8.50ms | Template::Grammar::__ANON__[Parser.yp:67] |
| 915 | 1 | 1 | 4.05ms | 4.05ms | Template::Grammar::__ANON__[Parser.yp:341] |
| 273 | 1 | 1 | 2.84ms | 7.36ms | Template::Grammar::__ANON__[Parser.yp:141] |
| 236 | 1 | 1 | 2.30ms | 3.74ms | Template::Grammar::__ANON__[Parser.yp:90] |
| 416 | 1 | 1 | 1.78ms | 1.78ms | Template::Grammar::__ANON__[Parser.yp:73] |
| 273 | 1 | 1 | 1.74ms | 1.74ms | Template::Grammar::__ANON__[Parser.yp:334] |
| 276 | 1 | 1 | 1.17ms | 1.17ms | Template::Grammar::__ANON__[Parser.yp:364] |
| 192 | 1 | 1 | 729µs | 729µs | Template::Grammar::__ANON__[Parser.yp:152] |
| 67 | 1 | 1 | 653µs | 1.07ms | Template::Grammar::__ANON__[Parser.yp:109] |
| 74 | 1 | 1 | 639µs | 2.70ms | Template::Grammar::__ANON__[Parser.yp:229] |
| 27 | 1 | 1 | 544µs | 2.86ms | Template::Grammar::__ANON__[Parser.yp:168] |
| 93 | 1 | 1 | 403µs | 403µs | Template::Grammar::__ANON__[Parser.yp:151] |
| 113 | 1 | 1 | 371µs | 371µs | Template::Grammar::__ANON__[Parser.yp:387] |
| 79 | 1 | 1 | 329µs | 329µs | Template::Grammar::__ANON__[Parser.yp:407] |
| 74 | 1 | 1 | 327µs | 327µs | Template::Grammar::__ANON__[Parser.yp:416] |
| 82 | 1 | 1 | 315µs | 315µs | Template::Grammar::__ANON__[Parser.yp:412] |
| 27 | 1 | 1 | 275µs | 610µs | Template::Grammar::__ANON__[Parser.yp:167] |
| 12 | 1 | 1 | 158µs | 320µs | Template::Grammar::__ANON__[Parser.yp:144] |
| 8 | 1 | 1 | 151µs | 1.20ms | Template::Grammar::__ANON__[Parser.yp:64] |
| 27 | 1 | 1 | 143µs | 143µs | Template::Grammar::__ANON__[Parser.yp:176] |
| 23 | 1 | 1 | 97µs | 97µs | Template::Grammar::__ANON__[Parser.yp:357] |
| 12 | 1 | 1 | 78µs | 78µs | Template::Grammar::__ANON__[Parser.yp:359] |
| 9 | 1 | 1 | 71µs | 71µs | Template::Grammar::__ANON__[Parser.yp:382] |
| 8 | 1 | 1 | 58µs | 251µs | Template::Grammar::__ANON__[Parser.yp:118] |
| 4 | 1 | 1 | 52µs | 85µs | Template::Grammar::__ANON__[Parser.yp:342] |
| 9 | 1 | 1 | 37µs | 37µs | Template::Grammar::__ANON__[Parser.yp:360] |
| 4 | 1 | 1 | 28µs | 28µs | Template::Grammar::__ANON__[Parser.yp:150] |
| 3 | 1 | 1 | 22µs | 109µs | Template::Grammar::__ANON__[Parser.yp:115] |
| 4 | 1 | 1 | 17µs | 17µs | Template::Grammar::__ANON__[Parser.yp:312] |
| 3 | 1 | 1 | 13µs | 13µs | Template::Grammar::__ANON__[Parser.yp:408] |
| 1 | 1 | 1 | 13µs | 19µs | Template::Grammar::__ANON__[Parser.yp:145] |
| 1 | 1 | 1 | 13µs | 21µs | Template::Grammar::__ANON__[Parser.yp:307] |
| 1 | 1 | 1 | 11µs | 14µs | Template::Grammar::__ANON__[Parser.yp:68] |
| 1 | 1 | 1 | 11µs | 30µs | Template::Grammar::__ANON__[Parser.yp:440] |
| 3 | 1 | 1 | 9µs | 9µs | Template::Grammar::__ANON__[Parser.yp:374] |
| 3 | 1 | 1 | 9µs | 9µs | Template::Grammar::__ANON__[Parser.yp:386] |
| 1 | 1 | 1 | 7µs | 7µs | Template::Grammar::__ANON__[Parser.yp:361] |
| 1 | 1 | 1 | 7µs | 7µs | Template::Grammar::__ANON__[Parser.yp:299] |
| 1 | 1 | 1 | 6µs | 6µs | Template::Grammar::__ANON__[Parser.yp:435] |
| 1 | 1 | 1 | 4µs | 4µs | Template::Grammar::__ANON__[Parser.yp:436] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:113] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:114] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:116] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:117] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:119] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:120] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:121] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:122] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:123] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:124] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:127] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:135] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:142] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:156] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:161] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:162] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:163] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:164] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:169] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:170] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:171] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:172] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:175] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:177] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:181] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:183] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:187] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:192] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:195] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:198] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:199] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:200] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:203] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:206] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:208] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:211] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:215] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:219] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:223] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:227] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:238] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:243] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:247] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:258] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:261] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:265] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:266] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:270] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:273] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:274] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:275] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:278] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:285] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:286] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:287] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:300] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:301] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:302] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:306] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:317] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:322] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:325] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:330] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:331] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:337] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:346] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:349] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:352] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:353] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:354] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:355] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:356] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:358] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:362] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:363] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:368] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:375] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:383] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:385] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:397] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:402] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:406] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:411] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:415] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:420] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:439] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:441] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:91] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:95] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | |||||
| - - | |||||
| 63 | #line 64 "Parser.yp" | ||||
| 64 | 8 | 68µs | 8 | 1.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 # spent 1.04ms making 8 calls to Template::Directive::template, avg 131µs/call |
| 65 | ], | ||||
| 66 | #line 67 "Parser.yp" | ||||
| 67 | 416 | 2.94ms | 416 | 4.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 # spent 4.40ms making 416 calls to Template::Directive::block, avg 11µs/call |
| 68 | 1 | 7µs | 1 | 3µ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 # spent 3µs making 1 call to Template::Directive::block |
| 69 | ], | ||||
| 70 | #line 71 "Parser.yp" | ||||
| 71 | 2248 | 7.60ms | # 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 | ||
| 72 | #line 73 "Parser.yp" | ||||
| 73 | 416 | 2.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 | ||
| 74 | ], | ||||
| 75 | #line 76 "Parser.yp" | ||||
| 76 | 914 | 5.95ms | 914 | 41.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 # spent 41.7ms making 914 calls to Template::Directive::textblock, avg 46µs/call |
| 77 | 1252 | 6.49ms | # 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 | ||
| 78 | 626 | 11.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" | ||||
| 90 | 236 | 1.61ms | 236 | 1.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 # 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" | ||||
| 109 | 67 | 568µs | 67 | 416µ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 # 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" | ||||
| 115 | 3 | 27µs | 3 | 87µ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 # spent 87µs making 3 calls to Template::Directive::set, avg 29µs/call |
| 116 | #line 117 "Parser.yp" | ||||
| 117 | #line 118 "Parser.yp" | ||||
| 118 | 8 | 53µs | 8 | 193µ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 # 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" | ||||
| 141 | 273 | 2.16ms | 273 | 4.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 # spent 4.52ms making 273 calls to Template::Directive::if, avg 17µs/call |
| 142 | { $factory->if(@_[3, 1]) } | ||||
| 143 | #line 144 "Parser.yp" | ||||
| 144 | 12 | 118µs | 12 | 162µ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 # spent 162µs making 12 calls to Template::Directive::if, avg 13µs/call |
| 145 | 1 | 14µs | 1 | 6µ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 # spent 6µs making 1 call to Template::Directive::if |
| 146 | ], | ||||
| 147 | [#Rule 48 | ||||
| 148 | #line 149 "Parser.yp" | ||||
| 149 | 8 | 44µ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 | ||
| 150 | #line 151 "Parser.yp" | ||||
| 151 | 93 | 464µ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 | ||
| 152 | 192 | 917µ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 | ||
| 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 | 206µs | 27 | 335µ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 # spent 335µs making 27 calls to Template::Parser::enter_block, avg 12µs/call |
| 168 | 27 | 489µs | 54 | 2.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 # 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" | ||||
| 176 | 27 | 190µ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 | ||
| 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 | 522µs | 74 | 2.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 # 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, | ||||
| 297 | sub | ||||
| 298 | #line 299 "Parser.yp" | ||||
| 299 | 1 | 10µ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 | ||
| 300 | #line 301 "Parser.yp" | ||||
| 301 | #line 302 "Parser.yp" | ||||
| 302 | { "{ $_[2] }" } | ||||
| 303 | ], | ||||
| 304 | #line 305 "Parser.yp" | ||||
| 305 | 643 | 4.20ms | 643 | 6.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 # spent 6.07ms making 643 calls to Template::Directive::ident, avg 9µs/call |
| 306 | #line 307 "Parser.yp" | ||||
| 307 | 1 | 11µs | 1 | 8µ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 # spent 8µs making 1 call to Template::Directive::quoted |
| 308 | ], | ||||
| 309 | [#Rule 112 | ||||
| 310 | 'sterm', 1, undef | ||||
| 311 | #line 312 "Parser.yp" | ||||
| 312 | 4 | 29µ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 | ||
| 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 | 2.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 | ||
| 335 | { push(@{$_[1]}, | ||||
| 336 | map {($_, 0)} split(/\./, $_[3])); | ||||
| 337 | $_[1]; } | ||||
| 338 | ], | ||||
| 339 | [#Rule 127 | ||||
| 340 | #line 341 "Parser.yp" | ||||
| 341 | 915 | 5.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 | ||
| 342 | 4 | 39µs | 4 | 33µ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 # spent 33µs making 4 calls to Template::Directive::args, avg 8µs/call |
| 343 | ], | ||||
| 344 | #line 345 "Parser.yp" | ||||
| 345 | 919 | 6.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 | ||
| 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 | 143µ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 | ||
| 358 | #line 359 "Parser.yp" | ||||
| 359 | 12 | 68µ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 | ||
| 360 | 9 | 101µ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 | ||
| 361 | 1 | 14µ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 | ||
| 362 | #line 363 "Parser.yp" | ||||
| 363 | #line 364 "Parser.yp" | ||||
| 364 | 276 | 1.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 | ||
| 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 | 14µ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 | ||
| 375 | { [ @_[1,3] ] } | ||||
| 376 | ], | ||||
| 377 | [#Rule 152 | ||||
| 378 | 'args', 2, | ||||
| 379 | sub | ||||
| 380 | |||||
| 381 | #line 382 "Parser.yp" | ||||
| 382 | 18 | 90µ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 | ||
| 383 | #line 384 "Parser.yp" | ||||
| 384 | { push(@{$_[1]->[0]}, "'', " . | ||||
| 385 | #line 386 "Parser.yp" | ||||
| 386 | 3 | 14µ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 | ||
| 387 | 113 | 556µ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, | ||||
| 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 | 416µ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 | ||
| 408 | 3 | 53µ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 | ||
| 409 | ], | ||||
| 410 | #line 411 "Parser.yp" | ||||
| 411 | #line 412 "Parser.yp" | ||||
| 412 | 82 | 461µ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 | ||
| 413 | ], | ||||
| 414 | #line 415 "Parser.yp" | ||||
| 415 | #line 416 "Parser.yp" | ||||
| 416 | 74 | 442µ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 | ||
| 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 | 2 | 8µ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 | ||
| 435 | #line 436 "Parser.yp" | ||||
| 436 | 1 | 8µ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" | ||||
| 440 | 1 | 11µs | 1 | 19µ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 # spent 19µs making 1 call to Template::Directive::text |
| 441 | { undef } | ||||
| 442 | 1 | 471µs | ] | ||
| 443 | ]; | ||||
| 444 | |||||
| - - | |||||
| 447 | 1 | 926µs | 1; | ||
| 448 | |||||
| 449 | __END__ |