|
NAMEPOE::Devel::Profiler - profiles POE programs SYNOPSIS perl -MPOE::Devel::Profiler myPOEapp.pl
poepp BasicSummary
CHANGES0.02 Added the BasicGraphViz Visualizer -> use it like:
poepp BasicGraphViz > output.dot
dot -Tpng -o output.png output.dot
0.01First release! ABSTRACTProfiles POE programs for useful data DESCRIPTIONThis module profiles POE programs, in the same way the Devel::DProf family of modules do. Currently, POE::Devel::Profiler will profile the following: Program start/end
Session create/destruction
alarm_set
delay_set
signal
alias_set
yield/post/call from a session
entering an event ( also includes _default states and failed states )
Garbage Collection on a session
POE::Devel::Profiler will not profile: Anything not mentioned above :) NOTESCompatibility?This module is currently compatible only with POE::Session, further work will be needed. POE OptionsIf you want to set POE options like ASSERT_DEFAULT, it is currently not possible with this module. The only way to do it is to set environment variables or hardcode the following in your program: sub POE::Kernel::ASSERT_DEFAULT () { 1 }
use POE::Devel::Profiler;
use POE;
Loading POEPOE::Devel::Profiler MUST be loaded before POE or craziness will ensue... Profiler dataThe profile data is stored in the file 'poep.out', don't ask me why :) To interpret the data, use the program 'poepp' and any Visualizer you want, consult the poepp documentation. SEE ALSO L<POE>
L<POE::Devel::Profiler::Parser>
L<poepp>
AUTHORApocalypse <apocal@cpan.org> COPYRIGHT AND LICENSECopyright 2004 by Apocalypse This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|