Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bigpresh/dancer-plugin-timerequests
Dancer plugin to time each request and provide stats
https://github.com/bigpresh/dancer-plugin-timerequests
Last synced: about 1 month ago
JSON representation
Dancer plugin to time each request and provide stats
- Host: GitHub
- URL: https://github.com/bigpresh/dancer-plugin-timerequests
- Owner: bigpresh
- Created: 2011-05-23T10:53:27.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-09T13:36:11.000Z (about 12 years ago)
- Last Synced: 2024-10-13T11:33:00.268Z (2 months ago)
- Language: Perl
- Homepage: http://search.cpan.org/dist/Dancer-Plugin-TimeRequests
- Size: 134 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Dancer::Plugin::TimeRequests - log how long requests take and which
routes are slowDESCRIPTION
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.SYNOPSIS
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'.
AUTHOR
David Precious, `'BUGS
Please report any bugs or feature requests to
`bug-dancer-plugin-timerequests at rt.cpan.org', or through the web
interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dancer-Plugin-TimeRequest
s. I will be notified, and then you'll automatically be notified of
progress on your bug as I make changes.SUPPORT
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
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dancer-Plugin-TimeRequests* AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Dancer-Plugin-TimeRequests* CPAN Ratings
http://cpanratings.perl.org/d/Dancer-Plugin-TimeRequests* Search CPAN
http://search.cpan.org/dist/Dancer-Plugin-TimeRequests/ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
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 http://dev.perl.org/licenses/ for more information.