← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 17:10:45 2013
Reported on Tue Oct 15 17:12:12 2013

Filename/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-facets.inc
StatementsExecuted 1134 statements in 8.51ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1115.18ms17.7msTemplate::Document::::__ANON__[:32]Template::Document::__ANON__[:32]
Call graph for these subroutines as a Graphviz dot language file.
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
[% IF ( opacfacets ) %] [% IF ( facets_loop ) %] <div id="search-facets">
2<h4>Refine your search</h4>
3<ul>
4733µs345µ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 ) %]&amp;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 ) %]&amp;sort_by=[% sort_by |html%][% END %]&amp;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
518µs229µ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
61287µs
722µs551µ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
815336µs831.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
952193µs1271.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 ) %]&amp;sort_by=[% sort_by |html %][% END %]&amp;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 ) %]&amp;sort_by=[% sort_by |html %][% END %][% IF ( offset ) %]&amp;offset=[% offset %][% END %]&amp;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
1030331µs7146µ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
114593.32ms9208µ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>
131182µs1103.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
1428533µs[% OPACResultsSidebar %] </div>
# spent 533µs making 28 calls to Template::Iterator::get_next, avg 19µs/call
1519106µs938µ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
166175µs1322.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
17111µs752µ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
181023.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
- -
205109µs
# spent 109µs making 5 calls to Template::Iterator::get_first, avg 22µs/call
21581µs542µs
# spent 42µs making 5 calls to Template::Stash::XS::get, avg 8µs/call
226102µ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
23121µs110µs
# spent 10µs making 1 call to Template::Stash::XS::get
2418µs
# spent 8µs making 1 call to Template::Stash::XS::set
253912.53ms
261600ns
271201.10ms
- -
31122µs
- -
34167µs