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 | 7 | 21µ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 | 1 | 4µ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 | 12 | 37µs | |||
7 | 2 | 1µ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 | 15 | 190µ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 | 52 | 44µs | 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 | 30 | 130µ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 | 459 | 1.81ms | 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 | </div> | ||||
13 | 11 | 54µ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 | 28 | 285µs | [% OPACResultsSidebar %] </div> # spent 285µs making 28 calls to Template::Iterator::get_next, avg 10µs/call | ||
15 | 19 | 75µ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 | 6 | 107µs | 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 | 1 | 7µ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 | 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 | ||
- - | |||||
20 | 5 | 94µs | # spent 94µs making 5 calls to Template::Iterator::get_first, avg 19µs/call | ||
21 | 5 | 55µs | 5 | 30µs | # spent 30µs making 5 calls to Template::Stash::XS::get, avg 6µs/call |
22 | 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 | 1 | 19µs | 1 | 5µs | # spent 5µs making 1 call to Template::Stash::XS::get |
24 | 1 | 7µs | # spent 7µs making 1 call to Template::Stash::XS::set | ||
25 | 391 | 1.47ms | |||
26 | 1 | 300ns | |||
27 | 120 | 684µs | |||
- - | |||||
31 | 1 | 20µs | |||
- - | |||||
34 | 1 | 31µs |