| File | /usr/lib/perl5/vendor_perl/5.10.1/Epoll/root/templates/includes/locale_select.tt |
| Statements Executed | 137 |
| Statement Execution Time | 1.29ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 2 | 1 | 1 | 942µs | 2.82ms | Template::Document::__ANON__[:36] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | # spent 2.82ms (942µs+1.88) within Template::Document::__ANON__[/usr/lib/perl5/vendor_perl/5.10.1/Epoll/root/templates/includes/locale_select.tt:36] which was called 2 times, avg 1.41ms/call:
# 2 times (942µs+1.88ms) by Template::Document::process at line 151 of Template/Document.pm, avg 1.41ms/call | ||||
| 2 | 2 | 52µs | 2 | 23µs | [% langs = [ 'fr', 'de', 'it', 'nl' ] %] # spent 23µs making 2 calls to Template::Stash::XS::set, avg 12µs/call |
| 3 | 4 | 44µs | 3 | 41µs | <select name="[% varname || 'locale' %]"> # spent 34µs making 2 calls to Template::Stash::XS::get, avg 17µs/call
# spent 7µs making 1 call to Template::Stash::undefined |
| 4 | 2 | 3µs | <option>C</option> | ||
| 5 | [% FOREACH lang = langs.sort %] | ||||
| 6 | 8 | 240µs | 16 | 132µs | <option[% " selected" IF locale == lang %]>[% lang | html %]</option> # spent 132µs making 16 calls to Template::Stash::XS::get, avg 8µs/call |
| 7 | 2 | 5µs | [% END %] | ||
| 8 | 10 | 28µs | </select> |