For things like issue1938, regression tests can be made by running darcs
with these sorts of flags:
darcs add foo1 +RTS -V0 -tout --machine-readable
and then checking in "out" that the values like "bytes allocated" and
"peak_megabytes_allocated" are the expected value (plus or minus a small
fudge factor). Note it's important to fail if performance is better than
expected, so that after a performance improvement the expected value is
updated.
These numbers should be pretty consistent for a given wordsize.
|