Filename | /usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-facets.inc |
Statements | Executed 1134 statements in 8.51ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 5.18ms | 17.7ms | __ANON__[:32] | Template::Document::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # spent 17.7ms (5.18+12.6) within Template::Document::__ANON__[/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-facets.inc:32] which was called:
# once (5.18ms+12.6ms) by Template::Document::process at line 151 of Template/Document.pm | ||||
2 | <h4>Refine your search</h4> | ||||
3 | <ul> | ||||
4 | 7 | 33µs | 3 | 45µ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 35µs making 2 calls to Template::Stash::XS::get, avg 18µs/call
# spent 10µs making 1 call to Template::Stash::undefined |
5 | 1 | 8µs | 2 | 29µ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 6µs making 1 call to Template::Stash::undefined |
6 | 12 | 87µs | |||
7 | 2 | 2µs | 5 | 51µs | [% FOREACH facets_loo IN facets_loop %] <li id="[% facets_loo.type_id %]"> # spent 51µs making 5 calls to Template::Stash::XS::get, avg 10µs/call |
8 | 15 | 336µs | 83 | 1.54ms | [% 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 1.19ms making 45 calls to Template::Stash::XS::get, avg 26µs/call
# spent 214µs making 35 calls to Template::Stash::undefined, avg 6µs/call
# spent 140µs making 3 calls to Template::Context::filter, avg 47µs/call |
9 | 52 | 193µs | 127 | 1.26ms | [% 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 1.26ms making 127 calls to Template::Stash::XS::get, avg 10µs/call |
10 | 30 | 331µs | 7 | 146µs | [% END %] </ul></li> # spent 130µs making 5 calls to Template::Stash::XS::get, avg 26µs/call
# spent 16µs making 2 calls to Template::Stash::undefined, avg 8µs/call |
11 | 459 | 3.32ms | 9 | 208µs | [% END %] </ul> # spent 93µs making 5 calls to Template::Iterator::AUTOLOAD, avg 19µs/call
# spent 78µs making 3 calls to Template::Stash::XS::get, avg 26µs/call
# spent 38µs making 1 call to Template::Stash::undefined |
12 | </div> | ||||
13 | 11 | 82µs | 110 | 3.77ms | [% IF ( OPACResultsSidebar ) %] <div id="opacresultssidebar"> # spent 3.62ms making 101 calls to Template::Context::filter, avg 36µs/call
# spent 87µs making 3 calls to Template::Filters::html_filter, avg 29µs/call
# spent 48µs making 5 calls to Template::Stash::XS::get, avg 10µs/call
# spent 14µs making 1 call to Template::Iterator::AUTOLOAD |
14 | 28 | 533µs | [% OPACResultsSidebar %] </div> # spent 533µs making 28 calls to Template::Iterator::get_next, avg 19µs/call | ||
15 | 19 | 106µs | 9 | 38µs | [% END %] [% END %] [% END %] # spent 27µs making 4 calls to Template::Stash::XS::get, avg 7µs/call
# spent 11µs making 5 calls to UNIVERSAL::isa, avg 2µs/call |
16 | 6 | 175µs | 132 | 2.02ms | # spent 1.51ms making 101 calls to Template::Stash::XS::get, avg 15µs/call
# spent 337µs making 5 calls to Template::Config::iterator, avg 67µs/call
# spent 169µs making 26 calls to Template::Stash::undefined, avg 7µs/call |
17 | 1 | 11µs | 7 | 52µs | # spent 50µs making 6 calls to Template::Stash::XS::set, avg 8µs/call
# spent 2µs making 1 call to UNIVERSAL::isa |
18 | 102 | 3.04ms | # spent 2.78ms making 101 calls to Template::Filters::html_filter, avg 28µs/call
# spent 259µs making 1 call to Template::Config::iterator | ||
- - | |||||
20 | 5 | 109µs | # spent 109µs making 5 calls to Template::Iterator::get_first, avg 22µs/call | ||
21 | 5 | 81µs | 5 | 42µs | # spent 42µs making 5 calls to Template::Stash::XS::get, avg 8µs/call |
22 | 6 | 102µs | # spent 69µs making 1 call to Template::Iterator::get_first
# spent 32µs making 5 calls to Template::Stash::XS::set, avg 6µs/call | ||
23 | 1 | 21µs | 1 | 10µs | # spent 10µs making 1 call to Template::Stash::XS::get |
24 | 1 | 8µs | # spent 8µs making 1 call to Template::Stash::XS::set | ||
25 | 391 | 2.53ms | |||
26 | 1 | 600ns | |||
27 | 120 | 1.10ms | |||
- - | |||||
31 | 1 | 22µs | |||
- - | |||||
34 | 1 | 67µs |