← 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:11:28 2013

Filename/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/page-numbers.inc
StatementsExecuted 597 statements in 2.17ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
2111.38ms4.85msTemplate::Document::::__ANON__[:31]Template::Document::__ANON__[:31]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
# spent 4.85ms (1.38+3.47) within Template::Document::__ANON__[/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/page-numbers.inc:31] which was called 2 times, avg 2.42ms/call: # 2 times (1.38ms+3.47ms) by Template::Document::process at line 151 of Template/Document.pm, avg 2.42ms/call
[% IF ( PAGE_NUMBERS ) %]<div class="pages">
2 <!-- Row of numbers corresponding to search result pages -->
388945µs88584µs [% IF ( previous_page_offset.defined ) %]<a class="nav" href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">&lt;&lt; Previous</a>[% END %] [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %][% IF ( PAGE_NUMBER.highlight ) %]<span class="current">[% PAGE_NUMBER.pg %]</span>[% ELSE %] <a class="nav" href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html%][% END %]">[% PAGE_NUMBER.pg %]</a>[% END %] [% END %] [% IF ( next_page_offset ) %]<a class="nav" href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |html %][% END %]">Next &gt;&gt;</a>[% END %] </div>[% END %]
# spent 569µs making 86 calls to Template::Stash::XS::get, avg 7µs/call # spent 15µs making 2 calls to Template::Stash::undefined, avg 7µs/call
44627µs
56256µs220µs
# spent 20µs making 2 calls to Template::Iterator::AUTOLOAD, avg 10µs/call
66270µs
7102198µs621.07ms
# spent 1.06ms making 60 calls to Template::Context::filter, avg 18µs/call # spent 12µs making 2 calls to Template::Stash::XS::get, avg 6µs/call
82056µs20177µs
# spent 177µs making 20 calls to Template::Iterator::get_next, avg 9µs/call
9213µs24µs
# spent 4µs making 2 calls to UNIVERSAL::isa, avg 2µs/call
1064529µs82675µs
# spent 454µs making 60 calls to Template::Stash::XS::get, avg 8µs/call # spent 125µs making 2 calls to Template::Config::iterator, avg 62µs/call # spent 95µs making 20 calls to Template::Stash::undefined, avg 5µs/call
11216µs28µs
# spent 8µs making 2 calls to Template::Stash::XS::set, avg 4µs/call
1262111µs60959µs
# spent 959µs making 60 calls to Template::Filters::html_filter, avg 16µs/call
1322µs
14422µs241µs
# spent 41µs making 2 calls to Template::Iterator::get_first, avg 21µs/call
152439µs322µs
# spent 19µs making 2 calls to Template::Stash::XS::get, avg 10µs/call # spent 3µs making 1 call to Template::Stash::undefined
16225µs216µs
# spent 16µs making 2 calls to Template::Stash::XS::set, avg 8µs/call
17228µs
1822µs
192013µs
2043µs
- -
232900ns
- -
252500ns
- -
30212µs
- -
33125µs