|
NAMEGungho::Plugin::RequestTimer - Keep Track Of Time To Finish RequestSYNOPSISplugins: - module: RequestTimer config: verbose: 0 # optional DESCRIPTIONNOTICE This module has been deprecated. Please use RequestLog instead.Gungho::Plugin::RequestTimer allows you to keep track of the time it took to finish fetching a particular request. The time when the request started, the time when the request was handed to handle_response(), and the total time between the latter two points are stored under the request object's notes() slot. $request->notes('send_request_time'); $request->notes('handle_response_time'); $request->notes('total_request_time'); Note that these values may not correspond exactly to when the acutal HTTP transaction started/finished, but rather, it's just a hook to show when these particular events happened in Gungho's life cycle. If you have Time::HiRes in your system, Time::HiRes::time() is used over regular time() as the store time values. METHODSsetup()Sets up the plugin.log_start()Starts logginglog_stop()Ends loggingAUTHORCopyright (c) 2007 Daisuke Maki <daisuke@endeworks.jp>All rights reserved. LICENSEThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.See http://www.perl.com/perl/misc/Artistic.html
Visit the GSP FreeBSD Man Page Interface. |