← 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:45 2013

Filename/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/page-numbers.inc
StatementsExecuted 597 statements in 3.39ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
2112.14ms7.46msTemplate::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 7.46ms (2.14+5.32) 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 3.73ms/call: # 2 times (2.14ms+5.32ms) by Template::Document::process at line 151 of Template/Document.pm, avg 3.73ms/call
[% IF ( PAGE_NUMBERS ) %]<div class="pages">
2 <!-- Row of numbers corresponding to search result pages -->
32401.26ms88761µ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 752µs making 86 calls to Template::Stash::XS::get, avg 9µs/call # spent 10µs making 2 calls to Template::Stash::undefined, avg 5µs/call
4
52621.45ms238µs
# spent 38µs making 2 calls to Template::Iterator::AUTOLOAD, avg 19µs/call
- -
744µs621.83ms
# spent 1.82ms making 60 calls to Template::Context::filter, avg 30µs/call # spent 7µs making 2 calls to Template::Stash::XS::get, avg 4µs/call
820352µs
# spent 352µs making 20 calls to Template::Iterator::get_next, avg 18µs/call
9213µs22µs
# spent 2µs making 2 calls to UNIVERSAL::isa, avg 950ns/call
10299µs82946µs
# spent 721µs making 60 calls to Template::Stash::XS::get, avg 12µs/call # spent 120µs making 2 calls to Template::Config::iterator, avg 60µs/call # spent 104µs making 20 calls to Template::Stash::undefined, avg 5µs/call
11217µs
# spent 17µs making 2 calls to Template::Stash::XS::set, avg 8µs/call
12601.40ms
# spent 1.40ms making 60 calls to Template::Filters::html_filter, avg 23µs/call
- -
14249µs
# spent 49µs making 2 calls to Template::Iterator::get_first, avg 24µs/call
15221µs321µs
# spent 18µs making 2 calls to Template::Stash::XS::get, avg 9µs/call # spent 3µs making 1 call to Template::Stash::undefined
1628µs
# spent 8µs making 2 calls to Template::Stash::XS::set, avg 4µs/call
- -
1980489µs
- -
252900ns
- -
30220µs
- -
33141µs