Tatsuhiko Miyagawa > Attribute-Profiled-0.03 > Attribute::Profiled

Download:
Attribute-Profiled-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Attribute::Profiled - Profiles specific methods in class

SYNOPSIS ^

  package SomeClass;
  use Attribute::Profiled;

  sub long_running_method : Profiled { }

DESCRIPTION ^

Attribute::Profiled provides a way to profile specific methods with attributes. This module uses Benchmark::Timer to profile elapsed times for your calls to the methods with Profiled attribute on.

Profiling report will be printed to STDERR at the end of program execution.

TODO ^

AUTHOR ^

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Attribute::Handlers, Benchmark::Timer

syntax highlighting: