| File | /usr/lib/perl5/vendor_perl/5.10.1/Epoll/root/templates/includes/header.tt |
| Statements Executed | 103 |
| Statement Execution Time | 2.54ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 2.49ms | 76.7ms | Template::Document::__ANON__[:65] |
| 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 | ||||
| 2 | <!-- $Id: header.tt 459 2010-11-30 23:18:52Z misc $ --> | ||||
| 3 | <html> | ||||
| 4 | <head> | ||||
| 5 | 1 | 44µs | 1 | 21µs | <title>[% page.title %]</title> # spent 21µs making 1 call to Template::Stash::XS::get |
| 6 | 1 | 2µs | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| 7 | 2 | 74µs | 3 | 1.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] |
| 8 | 3 | 70µs | 3 | 750µ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] |
| 9 | 1 | 2µs | [% FOREACH file = [ 'controls.js', 'dragdrop.js', 'effects.js', 'prototype.js' ] %] | ||
| 10 | 4 | 526µs | 16 | 3.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 |
| 11 | 4 | 8µs | file) %]"></script> | ||
| 12 | 4 | 110µs | 4 | 120µs | [% END %] # spent 120µs making 4 calls to Template::Iterator::get_next, avg 30µs/call |
| 13 | |||||
| 14 | 3 | 286µs | 4 | 1.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] |
| 15 | 3 | 43µs | 1 | 18µs | [% FOREACH file = [ 'dhtmlxcommon.js', 'dhtmlxcalendar.js' ] %] # spent 18µs making 1 call to Template::Stash::XS::set |
| 16 | 4 | 169µs | 8 | 2.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 |
| 17 | 3 | 8µs | file) %]"></script> | ||
| 18 | 4 | 62µs | 3 | 56µ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 |
| 19 | 1 | 16µs | 1 | 5.02ms | # spent 5.02ms making 1 call to Template::Config::iterator |
| 20 | 2 | 14µs | 1 | 33µs | </head> # spent 33µs making 1 call to Template::Iterator::AUTOLOAD |
| 21 | 3 | 33µs | 1 | 15µs | <body> # spent 15µs making 1 call to Template::Stash::XS::set |
| 22 | 2 | 5µs | <div id="header"> | ||
| 23 | 3 | 58µs | 3 | 7.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 |
| 24 | 5 | 136µs | 3 | 66µ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 |
| 25 | 3 | 74µs | 3 | 45.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 |
| 26 | 1 | 2µs | <p id="menu" style="clear: both;"> | ||
| 27 | 4 | 68µs | 5 | 2.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] |
| 28 | 8 | 127µs | 5 | 2.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] |
| 29 | 7 | 28µs | 1 | 38µs | [% IF voteid %] # spent 38µs making 1 call to Template::Iterator::get_first |
| 30 | 3 | 177µs | 9 | 7.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] |
| 31 | 3 | 61µs | 3 | 9.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> | ||||
| 33 | 3 | 21µs | 1 | 7µs | [% END %] # spent 7µs making 1 call to Template::Stash::XS::get |
| 34 | 4 | 8µs | </p> | ||
| 35 | 3 | 13µs | 1 | 43µs | </div> # spent 43µs making 1 call to Template::Context::filter |