View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Arthur Axel "fREW" Schmidt > App-Adenosine > App::Adenosine::Plugin::Stopwatch

Download:
App-Adenosine-2.002000.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 2.002000   Source  

NAME ^

App::Adenosine::Plugin::Stopwatch

VERSION ^

version 2.002000

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) 2018 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: