Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Dancer plugin to time each request and provide stats

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 example
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
Octocat-spinner-32 ignore.txt
    Dancer::Plugin::TimeRequests - log how long requests take and which
    routes are slow

    A simple Dancer plugin to log how long each request took to process, and
    also to gather stats on the average response time for each route - so
    you can see at a glance which routes are taking longer than you'd like,
    therefore where you ought to start looking to improve performance.

    Provides a statistics page giving you a list of your routes, along with
    their response times.

    In your Dancer app, load this module:

        use Dancer::Plugin::TimeRequests;

    Then, when your app is logging in debug mode, log messages will be
    generated showing how logn each request took:

        Request to /foo completed in 4.0011 seconds in ....

    To see which routes are slow, hit the URL `/plugin-timerequests'.

    David Precious, `<davidp at>'

    Please report any bugs or feature requests to
    `bug-dancer-plugin-timerequests at', or through the web
    interface at
    s. I will be notified, and then you'll automatically be notified of
    progress on your bug as I make changes.

    You can find documentation for this module with the perldoc command.

        perldoc Dancer::Plugin::TimeRequests

    You can also look for information at:

    * RT: CPAN's request tracker

    * AnnoCPAN: Annotated CPAN documentation

    * CPAN Ratings

    * Search CPAN

    Copyright 2011 David Precious.

    This program is free software; you can redistribute it and/or modify it
    under the terms of either: the GNU General Public License as published
    by the Free Software Foundation; or the Artistic License.

    See for more information.

Something went wrong with that request. Please try again.