← 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:35:58 2011

File /usr/lib/perl5/vendor_perl/5.10.1/Epoll/root/templates/includes/header.tt
Statements Executed 103
Statement Execution Time 2.54ms
Subroutines — ordered by exclusive time
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1112.49ms76.7msTemplate::Document::::__ANON__[:65]Template::Document::__ANON__[:65]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
# spent 76.7ms (2.49+74.2) within Template::Document::__ANON__[/usr/lib/perl5/vendor_perl/5.10.1/Epoll/root/templates/includes/header.tt:65] which was called # once (2.49ms+74.2ms) by Template::Document::process at line 151 of Template/Document.pm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- $Id: header.tt 459 2010-11-30 23:18:52Z misc $ -->
3<html>
4<head>
5144µs121µs<title>[% page.title %]</title>
# spent 21µs making 1 call to Template::Stash::XS::get
612µs<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7274µs31.35ms<link rel="stylesheet" href="[% c.uri_for('/static', 'vote.css') %]" type="text/css">
# spent 697µs making 1 call to Template::Stash::XS::get # spent 650µs making 1 call to Catalyst::uri_for # spent 7µs making 1 call to URI::__ANON__[URI.pm:24]
8370µs3750µs<link rel="icon" href="[%- c.uri_for('/static', 'images', 'favicon.ico') -%]" type="image/x-icon">
# spent 390µs making 1 call to Template::Stash::XS::get # spent 350µs making 1 call to Catalyst::uri_for # spent 10µs making 1 call to URI::__ANON__[URI.pm:24]
912µs[% FOREACH file = [ 'controls.js', 'dragdrop.js', 'effects.js', 'prototype.js' ] %]
104526µs163.27ms<script type="text/javascript" language="JavaScript" src="[% c.uri_for('/static', 'js', 'prototype',
# spent 1.75ms making 8 calls to Template::Stash::XS::get, avg 219µs/call # spent 1.49ms making 4 calls to Catalyst::uri_for, avg 372µs/call # spent 31µs making 4 calls to URI::__ANON__[URI.pm:24], avg 8µs/call
1148µs file) %]"></script>
124110µs4120µs[% END %]
# spent 120µs making 4 calls to Template::Iterator::get_next, avg 30µs/call
13
143286µs41.13ms<link rel="stylesheet" href="[% c.uri_for('/static', 'dhtmlxCalendar', 'dhtmlxcalendar.css') %]" type="text/css">
# spent 661µs making 1 call to Template::Stash::XS::get # spent 422µs making 1 call to Catalyst::uri_for # spent 39µs making 1 call to Template::Iterator::AUTOLOAD # spent 7µs making 1 call to URI::__ANON__[URI.pm:24]
15343µs118µs[% FOREACH file = [ 'dhtmlxcommon.js', 'dhtmlxcalendar.js' ] %]
# spent 18µs making 1 call to Template::Stash::XS::set
164169µs82.00ms<script type="text/javascript" language="JavaScript" src="[% c.uri_for('/static', 'dhtmlxCalendar',
# spent 1.04ms making 4 calls to Template::Stash::XS::get, avg 260µs/call # spent 945µs making 2 calls to Catalyst::uri_for, avg 472µs/call # spent 13µs making 2 calls to URI::__ANON__[URI.pm:24], avg 7µs/call
1738µs file) %]"></script>
18462µs356µs[% END %]
# spent 51µs making 2 calls to Template::Iterator::get_next, avg 26µs/call # spent 4µs making 1 call to UNIVERSAL::isa
19116µs15.02ms
# spent 5.02ms making 1 call to Template::Config::iterator
20214µs133µs</head>
# spent 33µs making 1 call to Template::Iterator::AUTOLOAD
21333µs115µs<body>
# spent 15µs making 1 call to Template::Stash::XS::set
2225µs<div id="header">
23358µs37.58ms <p id="title"><b>Epoll:</b> [% l('Web voting system') %]</p>
# spent 3.78ms making 1 call to Template::Stash::XS::get # spent 3.75ms making 1 call to Template::Document::__ANON__[Epoll/root/templates/includes/loc.tt:6] # spent 40µs making 1 call to Template::Iterator::get_first
245136µs366µs
# spent 47µs making 1 call to Template::Stash::XS::get # spent 15µs making 1 call to Template::Stash::undefined # spent 5µs making 1 call to UNIVERSAL::isa
25374µs345.3ms <p id="locale_select" style="float: right">[% INCLUDE 'includes/locale_select_form.tt' %]</p>
# spent 45.1ms making 1 call to Template::Context::include # spent 172µs making 1 call to Template::Config::iterator # spent 14µs making 1 call to Template::Stash::XS::set
2612µs <p id="menu" style="clear: both;">
27468µs52.95ms <a href="[% c.uri_for('/') %]">[% l('Welcome') %]</a> ::
# spent 1.49ms making 2 calls to Template::Stash::XS::get, avg 745µs/call # spent 1.32ms making 1 call to Template::Document::__ANON__[Epoll/root/templates/includes/loc.tt:6] # spent 132µs making 1 call to Catalyst::uri_for # spent 4µs making 1 call to URI::__ANON__[URI.pm:24]
288127µs52.90ms <a href="[% c.uri_for('/newpoll') %]">[% l('Create a new poll') %]</a>
# spent 1.50ms making 2 calls to Template::Stash::XS::get, avg 748µs/call # spent 1.30ms making 1 call to Template::Document::__ANON__[Epoll/root/templates/includes/loc.tt:6] # spent 105µs making 1 call to Catalyst::uri_for # spent 4µs making 1 call to URI::__ANON__[URI.pm:24]
29728µs138µs [% IF voteid %]
# spent 38µs making 1 call to Template::Iterator::get_first
303177µs97.67ms :: <a href="[% c.uri_for('/vote', c.model('Vote').poll(voteid).uid) %]">
# spent 3.89ms making 4 calls to Template::Stash::XS::get, avg 974µs/call # spent 2.71ms making 1 call to Epoll::DB::poll # spent 806µs making 1 call to Epoll::DB::Poll::uid # spent 170µs making 1 call to Catalyst::uri_for # spent 84µs making 1 call to Catalyst::model # spent 8µs making 1 call to URI::__ANON__[URI.pm:24]
31361µs39.00ms [% l('Your poll:') _ ' ' %][% c.model('Vote').poll(voteid).info('label') | truncate(40) | html %]
# spent 4.50ms making 1 call to Template::Stash::XS::get # spent 4.48ms making 1 call to Template::Document::__ANON__[Epoll/root/templates/includes/loc.tt:6] # spent 12µs making 1 call to Template::Stash::XS::set
32 </a>
33321µs17µs [% END %]
# spent 7µs making 1 call to Template::Stash::XS::get
3448µs </p>
35313µs143µs</div>
# spent 43µs making 1 call to Template::Context::filter