Rechercher une page de manuel
Jifty::Plugin::LeakTracker.3pm
Langue: en
Version: 2008-08-12 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Jifty::Plugin::LeakTracker - Leak tracker plugininit
init installs the triggers needed around each HTTP request
before_request
This trigger sets up Devel::Events to instrument bless and free so it can keep track of all the objects created and destroyed in this request
after_request
This extracts all the data gathered by Devel::Events and puts it into the global @Jifty::Plugin::LeakTracker::requests so the LeakTracker dispatcher and views can query it to make nice reports
NAME
Jifty::Plugin::LeakTrackerDESCRIPTION
Memory leak detection and reporting for your Jifty appUSAGE
Add the following to your site_config.ymlframework: Plugins: - LeakTracker: {}
This makes the following URLs available:
View the top-level leak report (how much each request has leaked)
http://your.app/__jifty/admin/leaks
View the top-level leak report, including zero-leak requests
http://your.app/__jifty/admin/leaks/all
View an individual request's detailed leak report (which objects were leaked)
http://your.app/__jifty/admin/leaks/3
WARNING
If you use this in production, be sure to block off 'leaks' from non-administrators. The full Data::Dumper output of the objects leaked is available, which may of course contain sensitive information.SEE ALSO
Jifty::Plugin::LeakTracker::View, Jifty::Plugin::LeakTracker::DispatcherCOPYRIGHT AND LICENSE
Copyright 2007 Best Practical SolutionsThis is free software and may be modified and distributed under the same terms as Perl itself.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre