The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Adenosine::Plugin::Stopwatch

VERSION

version 2.001007

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) 2014 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.