- Visualizer Developer Documentation
- SEE ALSO
- COPYRIGHT AND LICENSE
poepp - Interprets POE::Devel::Profiler output
perl -MPOE::Devel::Profiler myPOEapp.pl poepp BasicSummary
Interprets and visualizes the data POE::Devel::Profiler produces
This small program handles parsing the data and passing it to a Visualization module. Included in this distribution is one Visualizer, 'BasicSummary'. As I have time, more visualizers will be added, hopefully some nice graphs :)
The desired Visualizer must be the first argument, and the rest of the arguments will be passed intact to the Visualizer for further processing.
Okay, you want to code your own Visualizer! All you need to do is look at POE::Devel::Profiler::Visualizer::BasicSummary to get a general idea of what to do.
The visualizer must reside in the POE::Devel::Profiler::Visualizer namespace The visualizer must define 2 subroutines: GET_ARGS and OUTPUT GET_ARGS will be called at the start, the Visualizer can grab arguments from @ARGV OUTPUT will be called with a pointer to the massive data structure :)
For now, the source to POE::Devel::Profiler::Parser contains the entire data structure, play around with Devel::Dumper if necessary :(
L<POE> L<POE::Devel::Profiler::Parser> L<POE::Devel::Profiler::Visualizer::BasicSummary>
Copyright 2004 by Apocalypse
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.