Arthur Axel "fREW" Schmidt > App-Adenosine-2.001005 > App::Adenosine::Plugin::Stopwatch

Download:
App-Adenosine-2.001005.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 2.001005   Source   Latest Release: App-Adenosine-2.001008

NAME ^

App::Adenosine::Plugin::Stopwatch

VERSION ^

version 2.001005

DESCRIPTION ^

Appends handy timer information to curl's stderr, giving the user a simple way to understand the duration of a requestion.

METHODS ^

render_duration

Takes a scalar of seconds and renders them as a string. If you are subclassing this plugin to add color coding, for example, you just need to override this method.

wrap

(internal) wraps the curl command to get timing data and append the duration.

AUTHOR ^

Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Arthur Axel "fREW" Schmidt.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: