← 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-bottom.inc
StatementsExecuted 26 statements in 263µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11166µs315µ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 315µs (66+249) within Template::Document::__ANON__[/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-bottom.inc:74] which was called: # once (66µs+249µs) by Template::Document::process at line 151 of Template/Document.pm
[% IF ( opaccredits ) %] <div class="ft">
217µs13µs [% opaccredits %] </div>
# spent 3µs making 1 call to Template::Stash::XS::get
3313µs16µs[% END %] </div>
# spent 6µ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">
61500ns <div class="lang"><strong>Languages:&nbsp;</strong></div>
71500ns <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>
18217µs310µs [% END %] [% END %] [% IF ( OpacKohaUrl ) %] <span class="koha_url">
# spent 10µs making 3 calls to Template::Stash::XS::get, avg 3µs/call
191300ns 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>
221157µs3280µs [% END %] </strong>&nbsp;&nbsp;
# spent 215µs making 1 call to Template::Stash::XS::get # spent 46µs making 1 call to Template::VMethods::text_match # spent 19µs making 1 call to Template::Document::AUTOLOAD
23 </span>
24213µs26µs [% END %] [% END %] [% IF persona %] <script src="https://login.persona.org/include.js"></script>
# spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call
2521µs<script type="text/javascript" language="javascript">
2611µs
27navigator.id.watch({
28 loggedInUser: [% IF emailaddress && loggedinpersona %]'[% emailaddress %]'[% ELSE %]null[% END %],
291600ns onlogin: function (assertion) {
30 $.post('/cgi-bin/koha/svc/login',
31 { assertion: assertion },
321500ns function (data) {
33 window.location = '/cgi-bin/koha/opac-user.pl';
34 }
351200ns )
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 }
431400ns});
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>
59110µs15µs[% END %] </body>
# spent 5µs making 1 call to Template::Stash::XS::get
60</html>
61
- -
661900ns
- -
681300ns
- -
73113µs
- -
76125µs