Filename | /usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/resort_form.inc |
Statements | Executed 41 statements in 156µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 94µs | 148µs | __ANON__[:48] | Template::Document::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # spent 148µs (94+54) within Template::Document::__ANON__[/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/resort_form.inc:48] which was called:
# once (94µs+54µs) by Template::Document::process at line 151 of Template/Document.pm | ||||
2 | <optgroup label="Popularity"> | ||||
3 | [% IF ( sort_by == "popularity_dsc" ) %] <option value="popularity_dsc" selected="selected">Popularity (most to least)</option>[% ELSE %] <option value="popularity_dsc">Popularity (most to least)</option> | ||||
4 | 1 | 9µs | 1 | 4µs | [% END %] [% IF ( sort_by == "popularity_asc" ) %] <option value="popularity_asc" selected="selected">Popularity (least to most)</option>[% ELSE %] <option value="popularity_asc">Popularity (least to most)</option> # spent 4µs making 1 call to Template::Stash::XS::get |
5 | 1 | 9µs | 1 | 3µs | [% END %] </optgroup> # spent 3µs making 1 call to Template::Stash::XS::get |
6 | <optgroup label="Author"> | ||||
7 | 1 | 500ns | [% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %] <option value="author_az" selected="selected">Author (A-Z)</option> | ||
8 | 2 | 1µs | [% ELSE %] <option value="author_az">Author (A-Z)</option> | ||
9 | 2 | 13µs | 2 | 6µs | [% END %] [% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %] <option value="author_za" selected="selected">Author (Z-A)</option> # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
10 | [% ELSE %] <option value="author_za">Author (Z-A)</option> | ||||
11 | 2 | 13µs | 2 | 6µs | [% END %] </optgroup> # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
12 | 1 | 500ns | <optgroup label="Call Number"> | ||
13 | 1 | 900ns | [% IF ( sort_by == "call_number_asc" ) %] <option value="call_number_asc" selected="selected">Call number (0-9 to A-Z)</option> | ||
14 | [% ELSE %] <option value="call_number_asc">Call number (0-9 to A-Z)</option> | ||||
15 | 2 | 8µs | 1 | 3µs | [% END %] [% IF ( sort_by == "call_number_dsc" ) %] <option value="call_number_dsc" selected="selected">Call number (Z-A to 9-0)</option> # spent 3µs making 1 call to Template::Stash::XS::get |
16 | 1 | 300ns | [% ELSE %] <option value="call_number_dsc">Call number (Z-A to 9-0)</option> | ||
17 | 1 | 7µs | 1 | 3µs | [% END %] </optgroup> # spent 3µs making 1 call to Template::Stash::XS::get |
18 | 1 | 600ns | <optgroup label="Dates"> | ||
19 | 1 | 800ns | [% IF ( sort_by == "pubdate_dsc" ) %] <option value="pubdate_dsc" selected="selected">Publication/Copyright date: Newest to oldest</option> | ||
20 | [% ELSE %] <option value="pubdate_dsc">Publication/Copyright date: Newest to oldest</option> | ||||
21 | 2 | 7µs | 1 | 3µs | [% END %] [% IF ( sort_by == "pubdate_asc" ) %] <option value="pubdate_asc" selected="selected">Publication/Copyright date: Oldest to newest</option> # spent 3µs making 1 call to Template::Stash::XS::get |
22 | 1 | 500ns | [% ELSE %] <option value="pubdate_asc">Publication/Copyright date: Oldest to newest</option> | ||
23 | 1 | 7µs | 1 | 3µs | [% END %] [% IF ( sort_by == "acqdate_dsc" ) %] <option value="acqdate_dsc" selected="selected">Acquisition date: Newest to oldest</option> # spent 3µs making 1 call to Template::Stash::XS::get |
24 | 1 | 500ns | [% ELSE %] <option value="acqdate_dsc">Acquisition date: Newest to oldest</option> | ||
25 | 2 | 7µs | 1 | 3µs | [% END %] [% IF ( sort_by == "acqdate_asc" ) %] <option value="acqdate_asc" selected="selected">Acquisition date: Oldest to newest</option> # spent 3µs making 1 call to Template::Stash::XS::get |
26 | [% ELSE %] <option value="acqdate_asc">Acquisition date: Oldest to newest</option> | ||||
27 | 2 | 7µs | 1 | 3µs | [% END %] </optgroup> # spent 3µs making 1 call to Template::Stash::XS::get |
28 | 1 | 200ns | <optgroup label="Title"> | ||
29 | 1 | 600ns | [% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %] <option value="title_az" selected="selected">Title (A-Z)</option> | ||
30 | 1 | 200ns | [% ELSE %] <option value="title_az">Title (A-Z)</option> | ||
31 | 2 | 13µs | 2 | 6µs | [% END %] [% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %] <option value="title_za" selected="selected">Title (Z-A)</option> # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
32 | 1 | 400ns | [% ELSE %] <option value="title_za">Title (Z-A)</option> | ||
33 | 1 | 22µs | 2 | 6µs | [% END %] </optgroup> # spent 6µs making 2 calls to Template::Stash::XS::get, avg 3µs/call |
34 | 1 | 300ns | |||
35 | 1 | 600ns | |||
- - | |||||
37 | 1 | 900ns | |||
38 | 1 | 300ns | |||
- - | |||||
40 | 1 | 1µs | |||
- - | |||||
42 | 1 | 200ns | |||
- - | |||||
47 | 1 | 8µs | |||
- - | |||||
50 | 1 | 16µs |