1CGI::Application::PlugiUns:e:rDeCvoPnotpruipbC:uG:tITe:id:mAiPpnepgrl(li3c)Daotciuomne:n:tPaltuigoinn::DevPopup::Timing(3)
2
3
4

NAME

6       CGI::Application::Plugin::DevPopup::Timing - show timing information
7       about cgiapp stages
8

VERSION

10       version 1.08
11

SYNOPSIS

13           use CGI::Application::Plugin::DevPopup;
14           use CGI::Application::Plugin::DevPopup::Timing;
15
16           The rest of your application follows
17           ...
18
19       Output will look roughly like this:
20
21           Timings
22           Total runtime: 3.1178 sec.
23           Application started at: Thu Sep 22 02:55:35 2005
24
25           From                        To                              Time taken
26           -------------------------------------------------------------------------
27           init                        prerun                          0.107513 sec.
28           prerun                      before expensive operation      0.000371 sec.
29           before expensive operation  after expensive operation       3.006688 sec.
30           after expensive operation   load_tmpl(dp.html)              0.000379 sec.
31           load_tmpl(dp.html)          postrun                         0.002849 sec.
32

ADD_TIMING

34       You can add your own timing points within your application by calling
35       the hook at "devpopup_addtiming" with a short label. The table above
36       was created with the following code:
37
38           $self->call_hook('devpopup_addtiming', 'before expensive operation');
39           sleep 3;
40           $self->call_hook('devpopup_addtiming', 'after expensive operation');
41

SEE ALSO

43       CGI::Application::Plugin::DevPopup, CGI::Application
44

AUTHOR

46       Rhesa Rozendaal, rhesa@cpan.org
47

BUGS

49       Please report any bugs or feature requests to
50       bug-cgi-application-plugin-devpopup@rt.cpan.org, or through the web
51       interface at
52       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CGI-Application-Plugin-DevPopup>.
53       I will be notified, and then you'll automatically be notified of
54       progress on your bug as I make changes.
55
57       Copyright 2005 Rhesa Rozendaal, all rights reserved.
58
59       This program is free software; you can redistribute it and/or modify it
60       under the same terms as Perl itself.
61
62
63
64perl v5.32.1                     C2G0I2:1:-A0p1p-l2i6cation::Plugin::DevPopup::Timing(3)
Impressum