← 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 11:58:52 2013
Reported on Tue Oct 15 12:01:08 2013

Filename/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-facets.inc
StatementsExecuted 1134 statements in 4.76ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1112.75ms9.90msTemplate::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 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
[% IF ( opacfacets ) %] [% IF ( facets_loop ) %] <div id="search-facets">
2<h4>Refine your search</h4>
3<ul>
4219µs330µ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 23µs making 2 calls to Template::Stash::XS::get, avg 11µs/call # spent 7µs making 1 call to Template::Stash::undefined
5220µs227µ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
639µs
7964µs534µ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
853694µs83814µ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
91321.31ms127808µ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 ) %]&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 808µs making 127 calls to Template::Stash::XS::get, avg 6µs/call
10106128µs770µ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
11112147µs984µ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
1214969µs</div>
13138365µs1102.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
1429104µs28285µs[% OPACResultsSidebar %] </div>
# spent 285µs making 28 calls to Template::Iterator::get_next, avg 10µs/call
151559µs924µ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
161141.14ms1321.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
17760µs731µ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
18111216µs1021.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
1968µs
201172µs594µs
# spent 94µs making 5 calls to Template::Iterator::get_first, avg 19µs/call
213672µs530µs
# spent 30µs making 5 calls to Template::Stash::XS::get, avg 6µs/call
22640µs642µ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
232641µs15µs
# spent 5µs making 1 call to Template::Stash::XS::get
24726µs17µs
# spent 7µs making 1 call to Template::Stash::XS::set
252315µs
262521µs
2755µs
2854µs
- -
31120µs
- -
34131µs