| 1 |
Benchmark::Timer - Benchmarking with statistical confidence |
| 2 |
|
| 3 |
Perl extension to benchmark code, with or without statistical confidence. |
| 4 |
|
| 5 |
|
| 6 |
MODULE DEPENDENCIES |
| 7 |
|
| 8 |
To use this module, you will need to install: |
| 9 |
|
| 10 |
- Time::HiRes |
| 11 |
|
| 12 |
If you intend on using the statistical features, you will also need to |
| 13 |
install: |
| 14 |
|
| 15 |
- Statistics::PointEstimation. |
| 16 |
|
| 17 |
To test this module, you will need to install: |
| 18 |
|
| 19 |
- Test::More |
| 20 |
|
| 21 |
|
| 22 |
INSTALLATION |
| 23 |
|
| 24 |
To install this package, change to the directory where you unarchived this |
| 25 |
distribution and type the following: |
| 26 |
|
| 27 |
perl Makefile.PL |
| 28 |
make |
| 29 |
make test |
| 30 |
make install |
| 31 |
|
| 32 |
You can install this package into a non-default location by appending one of |
| 33 |
the following to the "perl Makefile.PL" command: |
| 34 |
|
| 35 |
- "PREFIX=/installation/path" (for installation into a custom location), |
| 36 |
- "INSTALLDIRS=site" (for installation into site-specific Perl directories) |
| 37 |
- "INSTALLDIRS=perl" (for installation into standard Perl directories). |
| 38 |
|
| 39 |
If you make the installation into your own directory, then remember that you |
| 40 |
must tell perl where to search for modules before trying to 'use' them. For |
| 41 |
example: |
| 42 |
|
| 43 |
use lib '/home/userid/lib'; |
| 44 |
use Benchmark::Timer; |
| 45 |
|
| 46 |
During the 'make test', the statistical test may take some time to run, |
| 47 |
depending on how accurate "sleep(1)" is on your system. The normal time is |
| 48 |
less than 5 seconds. |
| 49 |
|
| 50 |
|
| 51 |
DOCUMENTATION |
| 52 |
|
| 53 |
Just "perldoc Benchmark::Timer". After installation on Unix systems, |
| 54 |
you can also do "man Benchmark::Timer". |
| 55 |
|
| 56 |
|
| 57 |
RESOURCES |
| 58 |
|
| 59 |
The CPAN Page: |
| 60 |
http://search.cpan.org/~dcoppit/Benchmark-Timer/ |
| 61 |
|
| 62 |
The GitHub page: |
| 63 |
https://github.com/coppit/benchmark-timer/ |
| 64 |
|
| 65 |
Bug and feature tracking: |
| 66 |
http://rt.cpan.org/Public/Dist/Display.html?Name=Benchmark-Timer |
| 67 |
|
| 68 |
|
| 69 |
COPYRIGHT |
| 70 |
|
| 71 |
Copyright (c) 2001-2002 Andrew Ho. Copyright (c) 2004-2015 David Coppit. All rights |
| 72 |
reserved, save those granted by the license. See the file LICENSE for |
| 73 |
licensing terms. |
| 74 |
|
| 75 |
|
| 76 |
AUTHOR |
| 77 |
|
| 78 |
David Coppit <[email protected]> (current maintainer) |
| 79 |
Andrew Ho <[email protected]> (original author) |