| Filename | /home/vagrant/kohaclone/Parser.yp |
| Statements | Executed 2969 statements in 6.65ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 292 | 1 | 1 | 734µs | 6.83ms | Template::Grammar::__ANON__[Parser.yp:76] |
| 191 | 1 | 1 | 711µs | 1.79ms | Template::Grammar::__ANON__[Parser.yp:79] |
| 192 | 1 | 1 | 584µs | 1.32ms | Template::Grammar::__ANON__[Parser.yp:305] |
| 372 | 1 | 1 | 556µs | 556µs | Template::Grammar::__ANON__[Parser.yp:72] |
| 111 | 1 | 1 | 394µs | 798µs | Template::Grammar::__ANON__[Parser.yp:67] |
| 251 | 1 | 1 | 353µs | 353µs | Template::Grammar::__ANON__[Parser.yp:345] |
| 85 | 1 | 1 | 272µs | 416µs | Template::Grammar::__ANON__[Parser.yp:90] |
| 77 | 1 | 1 | 263µs | 740µs | Template::Grammar::__ANON__[Parser.yp:141] |
| 242 | 1 | 1 | 260µs | 260µs | Template::Grammar::__ANON__[Parser.yp:341] |
| 111 | 1 | 1 | 186µs | 186µs | Template::Grammar::__ANON__[Parser.yp:73] |
| 77 | 1 | 1 | 114µs | 114µs | Template::Grammar::__ANON__[Parser.yp:364] |
| 63 | 1 | 1 | 96µs | 96µs | Template::Grammar::__ANON__[Parser.yp:152] |
| 57 | 1 | 1 | 96µs | 96µs | Template::Grammar::__ANON__[Parser.yp:334] |
| 10 | 1 | 1 | 49µs | 202µs | Template::Grammar::__ANON__[Parser.yp:64] |
| 34 | 1 | 1 | 43µs | 43µs | Template::Grammar::__ANON__[Parser.yp:387] |
| 9 | 1 | 1 | 42µs | 74µs | Template::Grammar::__ANON__[Parser.yp:342] |
| 9 | 1 | 1 | 40µs | 135µs | Template::Grammar::__ANON__[Parser.yp:203] |
| 9 | 1 | 1 | 37µs | 123µs | Template::Grammar::__ANON__[Parser.yp:118] |
| 4 | 1 | 1 | 32µs | 170µs | Template::Grammar::__ANON__[Parser.yp:168] |
| 18 | 1 | 1 | 30µs | 30µs | Template::Grammar::__ANON__[Parser.yp:407] |
| 13 | 1 | 1 | 29µs | 29µs | Template::Grammar::__ANON__[Parser.yp:416] |
| 21 | 1 | 1 | 27µs | 27µs | Template::Grammar::__ANON__[Parser.yp:412] |
| 10 | 1 | 1 | 26µs | 26µs | Template::Grammar::__ANON__[Parser.yp:360] |
| 13 | 1 | 1 | 22µs | 22µs | Template::Grammar::__ANON__[Parser.yp:382] |
| 15 | 1 | 1 | 22µs | 22µs | Template::Grammar::__ANON__[Parser.yp:151] |
| 11 | 1 | 1 | 19µs | 19µs | Template::Grammar::__ANON__[Parser.yp:359] |
| 4 | 1 | 1 | 17µs | 28µs | Template::Grammar::__ANON__[Parser.yp:167] |
| 3 | 1 | 1 | 14µs | 14µs | Template::Grammar::__ANON__[Parser.yp:357] |
| 2 | 1 | 1 | 12µs | 48µs | Template::Grammar::__ANON__[Parser.yp:115] |
| 2 | 1 | 1 | 10µs | 33µs | Template::Grammar::__ANON__[Parser.yp:227] |
| 4 | 1 | 1 | 8µs | 8µs | Template::Grammar::__ANON__[Parser.yp:176] |
| 1 | 1 | 1 | 8µs | 13µs | Template::Grammar::__ANON__[Parser.yp:144] |
| 1 | 1 | 1 | 8µs | 16µs | Template::Grammar::__ANON__[Parser.yp:145] |
| 1 | 1 | 1 | 7µs | 35µs | Template::Grammar::__ANON__[Parser.yp:187] |
| 1 | 1 | 1 | 7µs | 9µs | Template::Grammar::__ANON__[Parser.yp:109] |
| 1 | 1 | 1 | 6µs | 19µs | Template::Grammar::__ANON__[Parser.yp:229] |
| 1 | 1 | 1 | 6µs | 10µs | Template::Grammar::__ANON__[Parser.yp:307] |
| 3 | 1 | 1 | 5µs | 5µs | Template::Grammar::__ANON__[Parser.yp:408] |
| 1 | 1 | 1 | 4µs | 17µs | Template::Grammar::__ANON__[Parser.yp:440] |
| 2 | 1 | 1 | 4µs | 4µs | Template::Grammar::__ANON__[Parser.yp:374] |
| 3 | 1 | 1 | 3µs | 3µs | Template::Grammar::__ANON__[Parser.yp:386] |
| 1 | 1 | 1 | 3µs | 3µs | Template::Grammar::__ANON__[Parser.yp:198] |
| 1 | 1 | 1 | 3µs | 3µs | Template::Grammar::__ANON__[Parser.yp:435] |
| 1 | 1 | 1 | 2µs | 2µs | Template::Grammar::__ANON__[Parser.yp:420] |
| 1 | 1 | 1 | 2µs | 2µs | Template::Grammar::__ANON__[Parser.yp:200] |
| 1 | 1 | 1 | 1µs | 1µ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:150] |
| 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:192] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:195] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:199] |
| 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: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:299] |
| 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:312] |
| 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:361] |
| 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:439] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:441] |
| 0 | 0 | 0 | 0s | 0s | Template::Grammar::__ANON__[Parser.yp:68] |
| 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 | |||||
| - - | |||||
| 64 | 10 | 44µs | 10 | 153µs | # spent 202µs (49+153) within Template::Grammar::__ANON__[Parser.yp:64] which was called 10 times, avg 20µs/call:
# 10 times (49µs+153µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 20µs/call # spent 153µs making 10 calls to Template::Directive::template, avg 15µs/call |
| 65 | ], | ||||
| 66 | [#Rule 2 | ||||
| 67 | 111 | 278µs | 111 | 404µs | # spent 798µs (394+404) within Template::Grammar::__ANON__[Parser.yp:67] which was called 111 times, avg 7µs/call:
# 111 times (394µs+404µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 7µs/call # spent 404µs making 111 calls to Template::Directive::block, avg 4µs/call |
| 68 | ], | ||||
| 69 | ], | ||||
| 70 | [#Rule 4 | ||||
| 71 | 372 | 253µs | # spent 556µs within Template::Grammar::__ANON__[Parser.yp:72] which was called 372 times, avg 1µs/call:
# 372 times (556µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 1µs/call | ||
| 72 | 372 | 594µs | if defined $_[2]; $_[1] } | ||
| 73 | 111 | 284µs | # spent 186µs within Template::Grammar::__ANON__[Parser.yp:73] which was called 111 times, avg 2µs/call:
# 111 times (186µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 74 | ], | ||||
| 75 | [#Rule 6 | ||||
| 76 | 292 | 633µs | 292 | 6.10ms | # spent 6.83ms (734µs+6.10) within Template::Grammar::__ANON__[Parser.yp:76] which was called 292 times, avg 23µs/call:
# 292 times (734µs+6.10ms) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 23µs/call # spent 6.10ms making 292 calls to Template::Directive::textblock, avg 21µs/call |
| 77 | 191 | 27µs | # spent 1.79ms (711µs+1.08) within Template::Grammar::__ANON__[Parser.yp:79] which was called 191 times, avg 9µs/call:
# 191 times (711µs+1.08ms) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 9µs/call | ||
| 78 | 191 | 655µs | 191 | 1.08ms | $_[0]->location() . $_[1]; # spent 1.08ms making 191 calls to Template::Parser::location, avg 6µ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 | ], | ||||
| 90 | 85 | 204µs | 85 | 144µs | # spent 416µs (272+144) within Template::Grammar::__ANON__[Parser.yp:90] which was called 85 times, avg 5µs/call:
# 85 times (272µs+144µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 5µs/call # spent 144µs making 85 calls to Template::Directive::get, avg 2µs/call |
| 91 | ], | ||||
| 92 | ], | ||||
| 93 | [#Rule 18 | ||||
| 94 | 'statement', 0, undef | ||||
| 95 | ], | ||||
| 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 | ], | ||||
| 109 | 1 | 5µs | 1 | 1µs | # spent 9µs (7+1) within Template::Grammar::__ANON__[Parser.yp:109] which was called:
# once (7µs+1µs) by Template::Parser::_parse at line 882 of Template/Parser.pm # spent 1µs making 1 call to Template::Directive::get |
| 110 | ], | ||||
| 111 | [#Rule 27 | ||||
| 112 | 'atomexpr', 1, undef | ||||
| 113 | ], | ||||
| 114 | ], | ||||
| 115 | 2 | 10µs | 2 | 36µs | # spent 48µs (12+36) within Template::Grammar::__ANON__[Parser.yp:115] which was called 2 times, avg 24µs/call:
# 2 times (12µs+36µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 24µs/call # spent 36µs making 2 calls to Template::Directive::set, avg 18µs/call |
| 116 | ], | ||||
| 117 | ], | ||||
| 118 | 9 | 34µs | 9 | 86µs | # spent 123µs (37+86) within Template::Grammar::__ANON__[Parser.yp:118] which was called 9 times, avg 14µs/call:
# 9 times (37µs+86µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 14µs/call # spent 86µs making 9 calls to Template::Directive::include, avg 10µs/call |
| 119 | ], | ||||
| 120 | ], | ||||
| 121 | ], | ||||
| 122 | ], | ||||
| 123 | ], | ||||
| 124 | ], | ||||
| 125 | ], | ||||
| 126 | ? $factory->next($_[0]->block_label) | ||||
| 127 | : $_[0]->block_label('next ', ';') } | ||||
| 128 | ], | ||||
| 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 | [#Rule 43 | ||||
| 141 | 77 | 206µs | 77 | 477µs | # spent 740µs (263+477) within Template::Grammar::__ANON__[Parser.yp:141] which was called 77 times, avg 10µs/call:
# 77 times (263µs+477µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 10µs/call # spent 477µs making 77 calls to Template::Directive::if, avg 6µs/call |
| 142 | ], | ||||
| 143 | ], | ||||
| 144 | 1 | 7µs | 1 | 5µs | # spent 13µs (8+5) within Template::Grammar::__ANON__[Parser.yp:144] which was called:
# once (8µs+5µs) by Template::Parser::_parse at line 882 of Template/Parser.pm # spent 5µs making 1 call to Template::Directive::if |
| 145 | 1 | 8µs | 1 | 8µs | # spent 16µs (8+8) within Template::Grammar::__ANON__[Parser.yp:145] which was called:
# once (8µs+8µs) by Template::Parser::_parse at line 882 of Template/Parser.pm # spent 8µs making 1 call to Template::Directive::if |
| 146 | ], | ||||
| 147 | [#Rule 48 | ||||
| 148 | 'else', 5, | ||||
| 149 | sub | ||||
| 150 | $_[5]; } | ||||
| 151 | 15 | 38µs | # spent 22µs within Template::Grammar::__ANON__[Parser.yp:151] which was called 15 times, avg 1µs/call:
# 15 times (22µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 1µs/call | ||
| 152 | 63 | 125µs | # spent 96µs within Template::Grammar::__ANON__[Parser.yp:152] which was called 63 times, avg 2µs/call:
# 63 times (96µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 153 | ], | ||||
| 154 | [#Rule 51 | ||||
| 155 | 'switch', 6, | ||||
| 156 | sub | ||||
| 157 | ], | ||||
| 158 | [#Rule 52 | ||||
| 159 | 'case', 5, | ||||
| 160 | sub | ||||
| 161 | $_[5]; } | ||||
| 162 | ], | ||||
| 163 | ], | ||||
| 164 | ], | ||||
| 165 | ], | ||||
| 166 | [#Rule 56 | ||||
| 167 | 4 | 14µs | 4 | 12µs | # spent 28µs (17+12) within Template::Grammar::__ANON__[Parser.yp:167] which was called 4 times, avg 7µs/call:
# 4 times (17µs+12µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 7µs/call # spent 12µs making 4 calls to Template::Parser::enter_block, avg 3µs/call |
| 168 | 4 | 25µs | 8 | 138µs | # spent 170µs (32+138) within Template::Grammar::__ANON__[Parser.yp:168] which was called 4 times, avg 42µs/call:
# 4 times (32µs+138µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 42µs/call # spent 88µs making 4 calls to Template::Directive::foreach, avg 22µs/call
# spent 50µs making 4 calls to Template::Parser::leave_block, avg 12µs/call |
| 169 | ], | ||||
| 170 | ], | ||||
| 171 | ], | ||||
| 172 | ], | ||||
| 173 | ], | ||||
| 174 | [#Rule 62 | ||||
| 175 | 'loopvar', 4, | ||||
| 176 | 4 | 13µs | # spent 8µs within Template::Grammar::__ANON__[Parser.yp:176] which was called 4 times, avg 2µs/call:
# 4 times (8µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 177 | ], | ||||
| 178 | ], | ||||
| 179 | [#Rule 65 | ||||
| 180 | 'wrapper', 5, | ||||
| 181 | sub | ||||
| 182 | ], | ||||
| 183 | [#Rule 66 | ||||
| 184 | ], | ||||
| 185 | [#Rule 67 | ||||
| 186 | 'try', 5, | ||||
| 187 | 1 | 6µs | 1 | 28µs | # spent 35µs (7+28) within Template::Grammar::__ANON__[Parser.yp:187] which was called:
# once (7µs+28µs) by Template::Parser::_parse at line 882 of Template/Parser.pm # spent 28µs making 1 call to Template::Directive::try |
| 188 | ], | ||||
| 189 | [#Rule 68 | ||||
| 190 | 'final', 5, | ||||
| 191 | sub | ||||
| 192 | $_[5]; } | ||||
| 193 | ], | ||||
| 194 | [#Rule 69 | ||||
| 195 | $_[5]; } | ||||
| 196 | ], | ||||
| 197 | 1 | 2µs | # spent 3µs within Template::Grammar::__ANON__[Parser.yp:198] which was called:
# once (3µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm | ||
| 198 | 1 | 3µs | $_[4]; } | ||
| 199 | ], | ||||
| 200 | 1 | 3µs | # spent 2µs within Template::Grammar::__ANON__[Parser.yp:200] which was called:
# once (2µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm | ||
| 201 | ], | ||||
| 202 | [#Rule 73 | ||||
| 203 | 9 | 36µs | 9 | 95µs | # spent 135µs (40+95) within Template::Grammar::__ANON__[Parser.yp:203] which was called 9 times, avg 15µs/call:
# 9 times (40µs+95µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 15µs/call # spent 95µs making 9 calls to Template::Directive::use, avg 11µs/call |
| 204 | ], | ||||
| 205 | [#Rule 74 | ||||
| 206 | '@3-3', 0, | ||||
| 207 | ], | ||||
| 208 | $_[0]->pop_defblock) } | ||||
| 209 | ], | ||||
| 210 | [#Rule 76 | ||||
| 211 | '@4-2', 0, | ||||
| 212 | ], | ||||
| 213 | $_[0]->{ EVAL_PERL } | ||||
| 214 | ? $factory->perl($_[4]) | ||||
| 215 | : $factory->no_perl(); } | ||||
| 216 | ], | ||||
| 217 | [#Rule 78 | ||||
| 218 | '@5-1', 0, | ||||
| 219 | $rawstart = ${$_[0]->{'LINE'}}; } | ||||
| 220 | ], | ||||
| 221 | $_[0]->{ EVAL_PERL } | ||||
| 222 | ? $factory->rawperl($_[4], $rawstart) | ||||
| 223 | : $factory->no_perl(); } | ||||
| 224 | ], | ||||
| 225 | [#Rule 80 | ||||
| 226 | 'filter', 5, | ||||
| 227 | 2 | 9µs | 2 | 23µs | # spent 33µs (10+23) within Template::Grammar::__ANON__[Parser.yp:227] which was called 2 times, avg 16µs/call:
# 2 times (10µs+23µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 16µs/call # spent 23µs making 2 calls to Template::Directive::filter, avg 12µs/call |
| 228 | ], | ||||
| 229 | 1 | 5µs | 1 | 13µs | # spent 19µs (6+13) within Template::Grammar::__ANON__[Parser.yp:229] which was called:
# once (6µs+13µs) by Template::Parser::_parse at line 882 of Template/Parser.pm # spent 13µs making 1 call to Template::Directive::filter |
| 230 | ], | ||||
| 231 | [#Rule 82 | ||||
| 232 | 'defblock', 5, | ||||
| 233 | sub | ||||
| 234 | { my $name = join('/', @{ $_[0]->{ DEFBLOCKS } }); | ||||
| 235 | pop(@{ $_[0]->{ DEFBLOCKS } }); | ||||
| 236 | $_[0]->define_block($name, $_[4]); | ||||
| 237 | undef | ||||
| 238 | } | ||||
| 239 | ], | ||||
| 240 | [#Rule 83 | ||||
| 241 | 'defblockname', 2, | ||||
| 242 | $_[2]; | ||||
| 243 | } | ||||
| 244 | ], | ||||
| 245 | [#Rule 84 | ||||
| 246 | 'blockname', 1, undef | ||||
| 247 | ], | ||||
| 248 | ], | ||||
| 249 | [#Rule 86 | ||||
| 250 | 'blockargs', 1, undef | ||||
| 251 | ], | ||||
| 252 | [#Rule 87 | ||||
| 253 | 'blockargs', 0, undef | ||||
| 254 | ], | ||||
| 255 | [#Rule 88 | ||||
| 256 | print STDERR "experimental block args: [@{ $_[2] }]\n" | ||||
| 257 | if $_[2]; | ||||
| 258 | $factory->anon_block($_[4]) } | ||||
| 259 | ], | ||||
| 260 | [#Rule 89 | ||||
| 261 | 'capture', 3, | ||||
| 262 | ], | ||||
| 263 | [#Rule 90 | ||||
| 264 | 'macro', 6, | ||||
| 265 | sub | ||||
| 266 | ], | ||||
| 267 | ], | ||||
| 268 | [#Rule 92 | ||||
| 269 | 'mdir', 1, undef | ||||
| 270 | ], | ||||
| 271 | ], | ||||
| 272 | [#Rule 94 | ||||
| 273 | 'margs', 2, | ||||
| 274 | ], | ||||
| 275 | ], | ||||
| 276 | ], | ||||
| 277 | [#Rule 97 | ||||
| 278 | 'metadata', 2, | ||||
| 279 | ], | ||||
| 280 | [#Rule 98 | ||||
| 281 | 'metadata', 2, undef | ||||
| 282 | ], | ||||
| 283 | [#Rule 99 | ||||
| 284 | s/\\'/'/g }; | ||||
| 285 | [ @_[1,3] ] } | ||||
| 286 | ], | ||||
| 287 | ], | ||||
| 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 | { "[ $_[2] ]" } | ||||
| 299 | |||||
| 300 | ], | ||||
| 301 | ], | ||||
| 302 | ], | ||||
| 303 | ], | ||||
| 304 | [#Rule 109 | ||||
| 305 | 192 | 433µs | 192 | 738µs | # spent 1.32ms (584µs+738µs) within Template::Grammar::__ANON__[Parser.yp:305] which was called 192 times, avg 7µs/call:
# 192 times (584µs+738µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 7µs/call # spent 738µs making 192 calls to Template::Directive::ident, avg 4µs/call |
| 306 | ], | ||||
| 307 | 1 | 4µs | 1 | 4µs | # spent 10µs (6+4) within Template::Grammar::__ANON__[Parser.yp:307] which was called:
# once (6µs+4µs) by Template::Parser::_parse at line 882 of Template/Parser.pm # spent 4µs making 1 call to Template::Directive::quoted |
| 308 | ], | ||||
| 309 | [#Rule 112 | ||||
| 310 | 'sterm', 1, undef | ||||
| 311 | ], | ||||
| 312 | [#Rule 113 | ||||
| 313 | ], | ||||
| 314 | [#Rule 115 | ||||
| 315 | 'list', 2, undef | ||||
| 316 | ], | ||||
| 317 | [#Rule 116 | ||||
| 318 | ], | ||||
| 319 | [#Rule 118 | ||||
| 320 | 'hash', 1, undef | ||||
| 321 | ], | ||||
| 322 | [#Rule 119 | ||||
| 323 | ], | ||||
| 324 | [#Rule 120 | ||||
| 325 | 'params', 2, | ||||
| 326 | ], | ||||
| 327 | [#Rule 121 | ||||
| 328 | 'params', 2, undef | ||||
| 329 | ], | ||||
| 330 | [#Rule 122 | ||||
| 331 | ], | ||||
| 332 | ], | ||||
| 333 | [#Rule 125 | ||||
| 334 | 114 | 148µs | # spent 96µs within Template::Grammar::__ANON__[Parser.yp:334] which was called 57 times, avg 2µs/call:
# 57 times (96µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 335 | ], | ||||
| 336 | map {($_, 0)} split(/\./, $_[3])); | ||||
| 337 | $_[1]; } | ||||
| 338 | ], | ||||
| 339 | [#Rule 127 | ||||
| 340 | 'ident', 1, undef | ||||
| 341 | 242 | 470µs | # spent 260µs within Template::Grammar::__ANON__[Parser.yp:341] which was called 242 times, avg 1µs/call:
# 242 times (260µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 1µs/call | ||
| 342 | 9 | 36µs | 9 | 32µs | # spent 74µs (42+32) within Template::Grammar::__ANON__[Parser.yp:342] which was called 9 times, avg 8µs/call:
# 9 times (42µs+32µs) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 8µs/call # spent 32µs making 9 calls to Template::Directive::args, avg 4µs/call |
| 343 | ], | ||||
| 344 | [#Rule 130 | ||||
| 345 | 251 | 604µs | # spent 353µs within Template::Grammar::__ANON__[Parser.yp:345] which was called 251 times, avg 1µs/call:
# 251 times (353µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 1µs/call | ||
| 346 | ], | ||||
| 347 | ], | ||||
| 348 | ? "'$_[2]'" | ||||
| 349 | : $factory->ident(["'$_[2]'", 0]) } | ||||
| 350 | ], | ||||
| 351 | [#Rule 133 | ||||
| 352 | 'expr', 3, | ||||
| 353 | ], | ||||
| 354 | ], | ||||
| 355 | ], | ||||
| 356 | ], | ||||
| 357 | 3 | 19µs | # spent 14µs within Template::Grammar::__ANON__[Parser.yp:357] which was called 3 times, avg 5µs/call:
# 3 times (14µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 5µs/call | ||
| 358 | ], | ||||
| 359 | 11 | 33µs | # spent 19µs within Template::Grammar::__ANON__[Parser.yp:359] which was called 11 times, avg 2µs/call:
# 11 times (19µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 360 | 10 | 37µs | # spent 26µs within Template::Grammar::__ANON__[Parser.yp:360] which was called 10 times, avg 3µs/call:
# 10 times (26µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 3µs/call | ||
| 361 | ], | ||||
| 362 | ], | ||||
| 363 | ], | ||||
| 364 | 77 | 204µs | # spent 114µs within Template::Grammar::__ANON__[Parser.yp:364] which was called 77 times, avg 1µs/call:
# 77 times (114µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 1µs/call | ||
| 365 | ], | ||||
| 366 | [#Rule 146 | ||||
| 367 | 'expr', 1, undef | ||||
| 368 | ], | ||||
| 369 | ], | ||||
| 370 | [#Rule 148 | ||||
| 371 | 'setlist', 2, undef | ||||
| 372 | ], | ||||
| 373 | [#Rule 149 | ||||
| 374 | 2 | 8µs | # spent 4µs within Template::Grammar::__ANON__[Parser.yp:374] which was called 2 times, avg 2µs/call:
# 2 times (4µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 375 | ], | ||||
| 376 | ], | ||||
| 377 | [#Rule 152 | ||||
| 378 | 'args', 2, | ||||
| 379 | sub | ||||
| 380 | { push(@{$_[1]}, $_[2]); $_[1] } | ||||
| 381 | |||||
| 382 | 26 | 39µs | # spent 22µs within Template::Grammar::__ANON__[Parser.yp:382] which was called 13 times, avg 2µs/call:
# 13 times (22µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 383 | ], | ||||
| 384 | ], | ||||
| 385 | $factory->assign(@_[2,4])); $_[1] } | ||||
| 386 | 3 | 10µs | # spent 3µs within Template::Grammar::__ANON__[Parser.yp:386] which was called 3 times, avg 1µs/call:
# 3 times (3µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 1µs/call | ||
| 387 | 34 | 79µs | # spent 43µs within Template::Grammar::__ANON__[Parser.yp:387] which was called 34 times, avg 1µs/call:
# 34 times (43µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 1µs/call | ||
| 388 | ], | ||||
| 389 | [#Rule 157 | ||||
| 390 | 'lnameargs', 3, | ||||
| 391 | sub | ||||
| 392 | { push(@{$_[3]}, $_[1]); $_[3] } | ||||
| 393 | |||||
| - - | |||||
| 397 | |||||
| 398 | ], | ||||
| 399 | [#Rule 158 | ||||
| 400 | 'lnameargs', 1, undef | ||||
| 401 | ], | ||||
| 402 | [#Rule 159 | ||||
| 403 | ], | ||||
| 404 | [#Rule 161 | ||||
| 405 | 'lvalue', 1, undef | ||||
| 406 | ], | ||||
| 407 | 18 | 52µs | # spent 30µs within Template::Grammar::__ANON__[Parser.yp:407] which was called 18 times, avg 2µs/call:
# 18 times (30µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 408 | 3 | 10µs | # spent 5µs within Template::Grammar::__ANON__[Parser.yp:408] which was called 3 times, avg 2µs/call:
# 3 times (5µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 409 | ], | ||||
| 410 | [#Rule 165 | ||||
| 411 | 'names', 3, | ||||
| 412 | 21 | 45µs | # spent 27µs within Template::Grammar::__ANON__[Parser.yp:412] which was called 21 times, avg 1µs/call:
# 21 times (27µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 1µs/call | ||
| 413 | ], | ||||
| 414 | [#Rule 167 | ||||
| 415 | 'name', 3, | ||||
| 416 | 13 | 41µs | # spent 29µs within Template::Grammar::__ANON__[Parser.yp:416] which was called 13 times, avg 2µs/call:
# 13 times (29µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm, avg 2µs/call | ||
| 417 | ], | ||||
| 418 | [#Rule 169 | ||||
| 419 | 'name', 1, undef | ||||
| 420 | 1 | 6µs | # spent 2µs within Template::Grammar::__ANON__[Parser.yp:420] which was called:
# once (2µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm | ||
| 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 | ], | ||||
| 434 | 1 | 2µs | # spent 3µs within Template::Grammar::__ANON__[Parser.yp:435] which was called:
# once (3µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm | ||
| 435 | 1 | 3µs | if defined $_[2]; $_[1] } | ||
| 436 | 1 | 4µs | # spent 1µs within Template::Grammar::__ANON__[Parser.yp:436] which was called:
# once (1µs+0s) by Template::Parser::_parse at line 882 of Template/Parser.pm | ||
| 437 | ], | ||||
| 438 | [#Rule 177 | ||||
| 439 | 'quotable', 1, | ||||
| 440 | 1 | 4µs | 1 | 12µs | # spent 17µs (4+12) within Template::Grammar::__ANON__[Parser.yp:440] which was called:
# once (4µs+12µs) by Template::Parser::_parse at line 882 of Template/Parser.pm # spent 12µs making 1 call to Template::Directive::text |
| 441 | ], | ||||
| 442 | 1 | 274µs | ] | ||
| 443 | ]; | ||||
| 444 | |||||
| - - | |||||
| 447 | 1 | 564µs | 1; | ||
| 448 | |||||
| 449 | __END__ |