Query: benchmark::progressbar
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Benchmark::ProgressBar(3pm) User Contributed Perl Documentation Benchmark::ProgressBar(3pm)NAMEBenchmark::ProgressBar - Display Progress Bar While You Wait For Your BenchmarkSYNOPSISuse Benchmark::ProgressBar qw(cmpthese); cmpthese(10_000, { a => sub { ... }, b => sub { ... }, } );DESCRIPTIONThis is a VERY crude combination of Benchmark.pm and Term::ProgressBar. Basically I got sick of waiting for my benchmarks to finish up without knowing an ETA. You can use it as a drop-in replacement for Benchmark.pm, but the only functions that would display a progress bar are the ones listed here: cmpthese, timethese, and timeit. This is achieved via crude (a VERY crude) re-definition of Benchmark.pm's subrountines, so you shouldn't be mixing it with Benchmark.pm (I don't know why you would) It does the job for me, YMMV. Patches are welcome.AUTHORCopyright (c) 2008 Daisuke Maki "daisuke@endeworks.jp"LICENSEThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.10.0 2008-04-15 Benchmark::ProgressBar(3pm)
Related Man Pages |
---|
benchmark(3pm) - redhat |
benchmark(3perl) - debian |
benchmark::timer(3pm) - debian |
curses::widgets::progressbar(3pm) - debian |
xml::quote(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
Introduction |
One instance of comparing grep and awk |
Find columns in a file based on header and print to new file |
A (ksh) Library For and From UNIX.com |