Filename | /usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-facets.inc |
Statements | Executed 1134 statements in 4.76ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 2.75ms | 9.90ms | __ANON__[:32] | Template::Document::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # spent 9.90ms (2.75+7.14) within Template::Document::__ANON__[/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-facets.inc:32] which was called:
# once (2.75ms+7.14ms) by Template::Document::process at line 151 of Template/Document.pm | ||||
2 | <h4>Refine your search</h4> | ||||
3 | <ul> | ||||
4 | 2 | 19µs | 3 | 30µs | <li id="availability_facet">Availability<ul><li>[% IF ( available ) %]Showing only <strong>available</strong> items. <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&sort_by=[% sort_by |html%][% END %]">Show all items</a>[% ELSE %]Limit to <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by |html%][% END %]&limit=available">currently available items.</a>[% END %]</li></ul> # spent 23µs making 2 calls to Template::Stash::XS::get, avg 11µs/call
# spent 7µs making 1 call to Template::Stash::undefined |
5 | 2 | 20µs | 2 | 27µs | [% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %])</li>[% END %] </li> # spent 23µs making 1 call to Template::Stash::XS::get
# spent 4µs making 1 call to Template::Stash::undefined |
6 | 3 | 9µs | |||
7 | 9 | 64µs | 5 | 34µs | [% FOREACH facets_loo IN facets_loop %] <li id="[% facets_loo.type_id %]"> # spent 34µs making 5 calls to Template::Stash::XS::get, avg 7µs/call |
8 | 53 | 694µs | 83 | 814µs | [% IF ( facets_loo.type_label_Authors ) %]Authors[% END %] [% IF ( facets_loo.type_label_Titles ) %]Titles[% END %] [% IF ( facets_loo.type_label_Topics ) %]Topics[% END %] [% IF ( facets_loo.type_label_Places ) %]Places[% END %] [% IF ( facets_loo.type_label_Series ) %]Series[% END %] [% IF ( facets_loo.type_label_ItemTypes ) %]Item types[% END %] [% UNLESS ( singleBranchMode ) %] [% IF ( facets_loo.type_label_Libraries ) %]Libraries[% END %] [% END %] [% IF ( facets_loo.type_label_Location ) %]Locations[% END %] <ul> # spent 639µs making 45 calls to Template::Stash::XS::get, avg 14µs/call
# spent 98µs making 35 calls to Template::Stash::undefined, avg 3µs/call
# spent 76µs making 3 calls to Template::Context::filter, avg 25µs/call |
9 | 132 | 1.31ms | 127 | 808µs | [% FOREACH facet IN facets_loo.facets %]<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]&limit=[% facet.type_link_value %]:[% facet.facet_link_value %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a> [% IF ( displayFacetCount ) %]([% facet.facet_count %])[% END %]</li>[% END %][% IF ( facets_loo.expandable ) %] <li class="showmore"><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %][% IF ( offset ) %]&offset=[% offset %][% END %]&expand=[% facets_loo.expand %]#[% facets_loo.type_id %]">Show more</a></li> # spent 808µs making 127 calls to Template::Stash::XS::get, avg 6µs/call |
10 | 106 | 128µs | 7 | 70µs | [% END %] </ul></li> # spent 62µs making 5 calls to Template::Stash::XS::get, avg 12µs/call
# spent 7µs making 2 calls to Template::Stash::undefined, avg 4µs/call |
11 | 112 | 147µs | 9 | 84µs | [% END %] </ul> # spent 60µs making 5 calls to Template::Iterator::AUTOLOAD, avg 12µs/call
# spent 21µs making 3 calls to Template::Stash::XS::get, avg 7µs/call
# spent 3µs making 1 call to Template::Stash::undefined |
12 | 149 | 69µs | </div> | ||
13 | 138 | 365µs | 110 | 2.16ms | [% IF ( OPACResultsSidebar ) %] <div id="opacresultssidebar"> # spent 2.08ms making 101 calls to Template::Context::filter, avg 21µs/call
# spent 44µs making 3 calls to Template::Filters::html_filter, avg 15µs/call
# spent 27µs making 5 calls to Template::Stash::XS::get, avg 5µs/call
# spent 7µs making 1 call to Template::Iterator::AUTOLOAD |
14 | 29 | 104µs | 28 | 285µs | [% OPACResultsSidebar %] </div> # spent 285µs making 28 calls to Template::Iterator::get_next, avg 10µs/call |
15 | 15 | 59µs | 9 | 24µs | [% END %] [% END %] [% END %] # spent 16µs making 4 calls to Template::Stash::XS::get, avg 4µs/call
# spent 8µs making 5 calls to UNIVERSAL::isa, avg 2µs/call |
16 | 114 | 1.14ms | 132 | 1.17ms | # spent 827µs making 101 calls to Template::Stash::XS::get, avg 8µs/call
# spent 238µs making 5 calls to Template::Config::iterator, avg 48µs/call
# spent 108µs making 26 calls to Template::Stash::undefined, avg 4µs/call |
17 | 7 | 60µs | 7 | 31µs | # spent 30µs making 6 calls to Template::Stash::XS::set, avg 5µs/call
# spent 1µs making 1 call to UNIVERSAL::isa |
18 | 111 | 216µs | 102 | 1.65ms | # spent 1.60ms making 101 calls to Template::Filters::html_filter, avg 16µs/call
# spent 53µs making 1 call to Template::Config::iterator |
19 | 6 | 8µs | |||
20 | 11 | 72µs | 5 | 94µs | # spent 94µs making 5 calls to Template::Iterator::get_first, avg 19µs/call |
21 | 36 | 72µs | 5 | 30µs | # spent 30µs making 5 calls to Template::Stash::XS::get, avg 6µs/call |
22 | 6 | 40µs | 6 | 42µs | # spent 22µs making 1 call to Template::Iterator::get_first
# spent 20µs making 5 calls to Template::Stash::XS::set, avg 4µs/call |
23 | 26 | 41µs | 1 | 5µs | # spent 5µs making 1 call to Template::Stash::XS::get |
24 | 7 | 26µs | 1 | 7µs | # spent 7µs making 1 call to Template::Stash::XS::set |
25 | 23 | 15µs | |||
26 | 25 | 21µs | |||
27 | 5 | 5µs | |||
28 | 5 | 4µs | |||
- - | |||||
31 | 1 | 20µs | |||
- - | |||||
34 | 1 | 31µs |