← 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/opac-bottom.inc
StatementsExecuted 26 statements in 242µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11190µs296µsTemplate::Document::::__ANON__[:74]Template::Document::__ANON__[:74]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
# spent 296µs (90+206) within Template::Document::__ANON__[/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-bottom.inc:74] which was called: # once (90µs+206µs) by Template::Document::process at line 151 of Template/Document.pm
[% IF ( opaccredits ) %] <div class="ft">
2114µs16µs [% opaccredits %] </div>
# spent 6µs making 1 call to Template::Stash::XS::get
3321µs18µs[% END %] </div>
# spent 8µs making 1 call to Template::Stash::XS::get
411µs
5[% IF ( opaclanguagesdisplay || OpacKohaUrl ) %] [% IF ( languages_loop && opaclanguagesdisplay ) %] [% UNLESS ( one_language_enabled ) %] <div id="changelanguage" class="ft">
61800ns <div class="lang"><strong>Languages:&nbsp;</strong></div>
71800ns <ul id="i18nMenu" class="footermenu">
8 [% FOREACH languages_loo IN languages_loop %] [% IF ( languages_loo.group_enabled ) %] [% IF ( languages_loo.plural ) %] <li class="more"><a class="sublangs" id="show[% languages_loo.rfc4646_subtag %]" href="#">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a><div id="sub[% languages_loo.rfc4646_subtag %]">
9 <div class="bd"><ul>
10 [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %] [% IF ( sublanguages_loo.enabled ) %] [% IF ( sublanguages_loo.sublanguage_current ) %] <li> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</li>
11 [% ELSE %] <li><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li>
12 [% END %] [% END %] [% END %] </ul></div></div></li>
13
14 [% ELSE %] [% IF ( languages_loo.group_enabled ) %] [% IF ( languages_loo.current ) %] <li class="morelang">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</li>
15 [% ELSE %] <li class="morelang"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a></li>
16 [% END %] [% END %] [% END %] [% END %] [% END %] </ul>
17 </div>
18226µs314µs [% END %] [% END %] [% IF ( OpacKohaUrl ) %] <span class="koha_url">
# spent 14µs making 3 calls to Template::Stash::XS::get, avg 4µs/call
191400ns Powered by <strong>
20 [% IF template.name.match('opac-main.tt') %] <a class="koha_url" href="http://koha-community.org">Koha</a>
21 [% ELSE %] <a class="koha_url" rel="nofollow" href="http://koha-community.org">Koha</a>
22190µs3229µs [% END %] </strong>&nbsp;&nbsp;
# spent 156µs making 1 call to Template::Stash::XS::get # spent 37µs making 1 call to Template::VMethods::text_match # spent 35µs making 1 call to Template::Document::AUTOLOAD
23 </span>
24222µs210µs [% END %] [% END %] [% IF persona %] <script src="https://login.persona.org/include.js"></script>
# spent 10µs making 2 calls to Template::Stash::XS::get, avg 5µs/call
2522µs<script type="text/javascript" language="javascript">
2611µs
27navigator.id.watch({
28 loggedInUser: [% IF emailaddress && loggedinpersona %]'[% emailaddress %]'[% ELSE %]null[% END %],
291700ns onlogin: function (assertion) {
30 $.post('/cgi-bin/koha/svc/login',
31 { assertion: assertion },
321600ns function (data) {
33 window.location = '/cgi-bin/koha/opac-user.pl';
34 }
351300ns )
36 .fail(function() { var errstr = _("Could not login, perhaps your Persona email does not match your Koha one");
37 alert(errstr);
38 });
39 },
40 onlogout: function () {
41 window.location = '/cgi-bin/koha/opac-main.pl?logout.x=1';
42 }
431800ns});
44
45var signinLink = document.getElementById('browserid');
461300ns
47if (signinLink) {
48 signinLink.onclick = function(evt) {
49 // Requests a signed identity assertion from the user.
50 navigator.id.request({
51 siteName: "[% LibraryName | html %]",
52 returnTo: '/cgi-bin/koha/opac-user.pl',
53 oncancel: function() { alert('user refuses to share identity.'); }
54 });
55 };
56}
57
58</script>
59111µs15µs[% END %] </body>
# spent 5µs making 1 call to Template::Stash::XS::get
60</html>
61
- -
6611µs
- -
681300ns
- -
7318µs
- -
76141µs