root/Attribute-Profiled/trunk/README

Revision 254 (checked in by miyagawa, 19 years ago)

0.02

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 NAME
2     Attribute::Profiled - Profiles specific methods in class
3
4 SYNOPSIS
5       package SomeClass;
6       use Attribute::Profiled;
7
8       sub long_running_method : Profiled { }
9
10 DESCRIPTION
11     Attribute::Profiled provides a way to profile specific methods with
12     attributes. This module uses Benchmark::Timer to profile elapsed times
13     for your calls to the methods with Profiled attribute on.
14
15     Profiling report will be printed to STDERR at the end of program
16     execution.
17
18 TODO
19     *   Options where to print profiling report.
20
21     *   Allows public way to get reports in any timing other than the end of
22         execution. Currently you can do it by explicitly calling report() on
23         $Attribute::Profiled::_Profiler.
24
25 AUTHOR
26     Tatsuhiko Miyagawa <miyagawa@bulknews.net>
27
28     This library is free software; you can redistribute it and/or modify it
29     under the same terms as Perl itself.
30
31 SEE ALSO
32     the Attribute::Handlers manpage, the Benchmark::Timer manpage
33
Note: See TracBrowser for help on using the browser.