I'd say a lot of the trouble comes from the fact that you're using the
automated test framework for something that isn't an automated test.

You'll probably find that easiest thing to do is stick something like this
in your Makefile.PL

sub MY::postamble {
        return << 'EOM';
bench: pure_all
        PERL_DL_NONLAZY=1 $(FULLPERLRUN) -Mblib benchmark.pl
EOM
}

then you can do

make bench

which will run benchmark.pl and the output will go straight to the screen.

What would be even more useful would be a Benchmark::Harness module which
would allow us to have a bench/ directory where we could lob in lots of .bm
files which will be run when you do a

make bench

F


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


Reply via email to