On Thu, Dec 04, 2003 at 05:26:07AM -0500, [EMAIL PROTECTED] wrote:
> 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.

But it could be.  It would be nice to have a test like "make sure the
hand optimized version is faster than the unoptimized version" or "make sure
the XS version is faster than the Perl version".

Another useful sort of test would be "make sure this function runs in less
than N perlmips time" where a perlmip is some unit of CPU time calibrated
relative to the current hardware.  So a pmip on machine A would be
roughly twice as long as a pmip on a machine that's twice as fast.
This enables us to test "make sure this isn't too slow".


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
PS  I am very handsome and I live in a castle with a pony.

Reply via email to