| File | /usr/lib/perl5/vendor_perl/5.10.1/Epoll/root/templates/includes/admin_menu.tt |
| Statements Executed | 40 |
| Statement Execution Time | 3.23ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 1.05ms | 49.4ms | Template::Document::__ANON__[:31] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | # spent 49.4ms (1.05+48.3) within Template::Document::__ANON__[/usr/lib/perl5/vendor_perl/5.10.1/Epoll/root/templates/includes/admin_menu.tt:31] which was called
# once (1.05ms+48.3ms) by Template::Document::process at line 151 of Template/Document.pm | ||||
| 2 | 1 | 405µs | 5 | 15.0ms | [% poll = c.model('Vote').poll(voteid) %] # spent 7.67ms making 2 calls to Template::Stash::XS::get, avg 3.83ms/call
# spent 7.11ms making 1 call to Epoll::DB::poll
# spent 190µs making 1 call to Catalyst::model
# spent 21µs making 1 call to Template::Stash::XS::set |
| 3 | 1 | 4µs | |||
| 4 | <div id="admin_menu"> | ||||
| 5 | 1 | 369µs | 5 | 5.89ms | <a href="[% c.uri_for('/admin', poll.uid) %]">[% poll.info.label | html %]</a> # spent 3.02ms making 2 calls to Template::Stash::XS::get, avg 1.51ms/call
# spent 2.13ms making 1 call to Epoll::DB::Poll::uid
# spent 741µs making 1 call to Catalyst::uri_for
# spent 7µs making 1 call to URI::__ANON__[URI.pm:24] |
| 6 | 1 | 2µs | [% IF poll.status == 'BEFORE' %] | ||
| 7 | 4 | 228µs | 7 | 11.9ms | :: <a href="[% c.uri_for('/admin', poll.uid, 'ballot') %]">[% l('Ballots') %]</a> # spent 6.02ms making 3 calls to Template::Stash::XS::get, avg 2.01ms/call
# spent 3.07ms making 1 call to Template::Document::__ANON__[Epoll/root/templates/includes/loc.tt:6]
# spent 2.31ms making 1 call to Epoll::DB::Poll::uid
# spent 468µs making 1 call to Catalyst::uri_for
# spent 7µs making 1 call to URI::__ANON__[URI.pm:24] |
| 8 | 5 | 67µs | 2 | 2.12ms | [% END %] # spent 1.08ms making 1 call to Template::Stash::XS::get
# spent 1.04ms making 1 call to Epoll::DB::Poll::status |
| 9 | 4 | 1.49ms | 8 | 14.3ms | :: <a href="[% c.uri_for('/admin', poll.uid, 'voters') %]">[% l('Voters') %]</a> # spent 7.67ms making 3 calls to Template::Stash::XS::get, avg 2.56ms/call
# spent 3.64ms making 1 call to Template::Document::__ANON__[Epoll/root/templates/includes/loc.tt:6]
# spent 2.43ms making 1 call to Epoll::DB::Poll::uid
# spent 375µs making 1 call to Catalyst::uri_for
# spent 150µs making 1 call to Template::Context::filter
# spent 7µs making 1 call to URI::__ANON__[URI.pm:24] |
| 10 | 2 | 4µs | [% IF poll.status == 'BEFORE' %] | ||
| 11 | 3 | 161µs | 7 | 12.4ms | :: <a href="[% c.uri_for('/admin', poll.uid, 'date') %]">[% l('Dates') %]</a> # spent 6.24ms making 3 calls to Template::Stash::XS::get, avg 2.08ms/call
# spent 3.29ms making 1 call to Template::Document::__ANON__[Epoll/root/templates/includes/loc.tt:6]
# spent 2.30ms making 1 call to Epoll::DB::Poll::uid
# spent 533µs making 1 call to Catalyst::uri_for
# spent 8µs making 1 call to URI::__ANON__[URI.pm:24] |
| 12 | 4 | 137µs | 4 | 11.9ms | [% END %] # spent 5.99ms making 2 calls to Template::Stash::XS::get, avg 3.00ms/call
# spent 4.79ms making 1 call to Epoll::DB::Poll::info
# spent 1.11ms making 1 call to Epoll::DB::Poll::status |
| 13 | 1 | 4µs | [% IF poll.status == 'AFTER' %] | ||
| 14 | 1 | 10µs | 1 | 56µs | [% IF NOT poll.results %] # spent 56µs making 1 call to Template::Filters::html_filter |
| 15 | :: <a href="[% c.uri_for('/admin', poll.uid, 'validate') %]">[% l('Validate') %]</a> | ||||
| 16 | [% END %] | ||||
| 17 | 2 | 56µs | 2 | 2.65ms | [% END %] # spent 1.35ms making 1 call to Template::Stash::XS::get
# spent 1.30ms making 1 call to Epoll::DB::Poll::status |
| 18 | [% IF poll.status != 'RUNNING' %] | ||||
| 19 | 2 | 166µs | 7 | 15.9ms | :: <a href="[% c.uri_for('/admin', poll.uid, 'delete') %]">[% l('Delete') %]</a> # spent 8.07ms making 3 calls to Template::Stash::XS::get, avg 2.69ms/call
# spent 4.10ms making 1 call to Epoll::DB::Poll::uid
# spent 3.37ms making 1 call to Template::Document::__ANON__[Epoll/root/templates/includes/loc.tt:6]
# spent 401µs making 1 call to Catalyst::uri_for
# spent 7µs making 1 call to URI::__ANON__[URI.pm:24] |
| 20 | 3 | 61µs | 2 | 1.81ms | [% END %] # spent 927µs making 1 call to Template::Stash::XS::get
# spent 886µs making 1 call to Epoll::DB::Poll::status |
| 21 | 1 | 3µs | </div> |