← 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:02:31 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 -->
3881.37ms88761µ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
44636µs
562139µs238µs
# spent 38µs making 2 calls to Template::Iterator::AUTOLOAD, avg 19µs/call
66241µs
7102321µ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
820134µs20352µs
# spent 352µs making 20 calls to Template::Iterator::get_next, avg 18µs/call
9210µs22µs
# spent 2µs making 2 calls to UNIVERSAL::isa, avg 950ns/call
1064894µ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
11234µs217µs
# spent 17µs making 2 calls to Template::Stash::XS::set, avg 8µs/call
1262203µs601.40ms
# spent 1.40ms making 60 calls to Template::Filters::html_filter, avg 23µs/call
1324µs
14436µs249µs
# spent 49µs making 2 calls to Template::Iterator::get_first, avg 24µs/call
152445µ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
16222µs28µs
# spent 8µs making 2 calls to Template::Stash::XS::set, avg 4µs/call
172215µs
1825µs
192019µs
2043µs
- -
2322µs
- -
252900ns
- -
30220µs
- -
33141µs