Alberto Manuel Brandão Simões > Benchmark-Apps-0.02 > Benchmark::Apps

Download:
Benchmark/Benchmark-Apps-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.02   Source   Latest Release: Benchmark-Apps-0.03

NAME ^

Benchmark::Apps - Simple interface to benchmark applications.

SYNOPSIS ^

This module provides a simple interface to benchmark applications (not necessarily Perl applications).

    use Benchmark::Apps;

                Benchmark::Apps::compare_these(
                        cmd1 => 'run_command_1 with arguments',
                        cmd2 => 'run_command_2 with other arguments',
                );

FUNCTIONS ^

compare_these

This is the main method of the module. You call it and it prints nice formated results of the benchmarks performed. The first argument might be a reference to an hash. In that case, the hash is used as configuration information.

time_this

This method is not meant to be used directly, although it can be useful. It receives a command line and executes it via system, taking care of registering the elapsed time.

AUTHOR ^

Aberto Simoes, <ambs at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-benchmark-apps at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Benchmark-Apps. 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 Benchmark::Apps

You can also look for information at:

COPYRIGHT & LICENSE ^

Copyright 2008 Aberto Simoes, all rights reserved.

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