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
Gungho::Plugin::RequestTimer(3) User Contributed Perl Documentation Gungho::Plugin::RequestTimer(3)

Gungho::Plugin::RequestTimer - Keep Track Of Time To Finish Request

  plugins:
    -
      module: RequestTimer
      config:
        verbose: 0 # optional

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

Sets up the plugin.

Starts logging

Ends logging

Copyright (c) 2007 Daisuke Maki <daisuke@endeworks.jp>

All rights reserved.

This 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

2007-10-23 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.