GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
POE::Devel::Profiler(3) User Contributed Perl Documentation POE::Devel::Profiler(3)

POE::Devel::Profiler - profiles POE programs

        perl -MPOE::Devel::Profiler myPOEapp.pl
        poepp BasicSummary

        Added the BasicGraphViz Visualizer -> use it like:
                poepp BasicGraphViz > output.dot
                dot -Tpng -o output.png output.dot

        First release!

        Profiles POE programs for useful data

This 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 :)

This module is currently compatible only with POE::Session, further work will be needed.

If 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;

POE::Devel::Profiler MUST be loaded before POE or craziness will ensue...

The 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.

        L<POE>

        L<POE::Devel::Profiler::Parser>

        L<poepp>

Apocalypse <apocal@cpan.org>

Copyright 2004 by Apocalypse

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

2004-10-18 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.