← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/bin/epoll_server.pl
  Run on Wed Jan 5 05:34:33 2011
Reported on Wed Jan 5 05:41:02 2011

File /usr/lib/perl5/vendor_perl/5.10.1/Epoll/root/templates/includes/admin_menu.tt
Statements Executed 40
Statement Execution Time 3.23ms
Subroutines — ordered by exclusive time
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1111.05ms49.4msTemplate::Document::::__ANON__[:31]Template::Document::__ANON__[:31]
Call graph for these subroutines as a Graphviz dot language file.
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
<!-- $Id: admin_menu.tt 394 2010-10-06 17:46:41Z misc $ -->
21405µs515.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
314µs
4<div id="admin_menu">
51369µs55.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]
612µs[% IF poll.status == 'BEFORE' %]
74228µs711.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]
8567µs22.12ms[% END %]
# spent 1.08ms making 1 call to Template::Stash::XS::get # spent 1.04ms making 1 call to Epoll::DB::Poll::status
941.49ms814.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]
1024µs[% IF poll.status == 'BEFORE' %]
113161µs712.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]
124137µs411.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
1314µs[% IF poll.status == 'AFTER' %]
14110µs156µ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 %]
17256µs22.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' %]
192166µs715.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]
20361µs21.81ms[% END %]
# spent 927µs making 1 call to Template::Stash::XS::get # spent 886µs making 1 call to Epoll::DB::Poll::status
2113µs</div>