[darcs-users] benchmarks (Was: darcs 2.5 beta 1 release)

Zooko O'Whielacronx zooko at zooko.com
Sun Jul 18 15:18:01 UTC 2010


On Sun, Jul 11, 2010 at 3:30 PM, Eric Kow <kowey at darcs.net> wrote:
> Hands up!  It's pretty much just a matter of
>
>  cabal update
>  cabal install darcs-benchmark

Hm, so adding those two lines to the GNUmakefile as a new target named
"benchmark" and then having the buildmaster invoke "make benchmark"
would run benchmarks on lots of buildslaves?

Okay I tried adding those lines to GNUmakefile and running "make
benchmark" locally and it failed to compile darcs-benchmark:

Downloading darcs-benchmark-0.1.8...
[1 of 1] Compiling Main             (
/tmp/TMPdarcs-benchmark-0.1.8/darcs-benchmark-0.1.8/Setup.hs,
/tmp/TMPdarcs-benchmark-0.1.8/darcs-benchmark-0.1.8/dist/setup/Main.o
)
Linking /tmp/TMPdarcs-benchmark-0.1.8/darcs-benchmark-0.1.8/dist/setup/setup ...
Configuring darcs-benchmark-0.1.8...
Preprocessing executables for darcs-benchmark-0.1.8...
Building darcs-benchmark-0.1.8...
ghc: unrecognised flags: -fno-warn-unused-do-bind
Usage: For basic information, try the `--help' option.
cabal: Error: some packages failed to install:
darcs-benchmark-0.1.8 failed during the building phase. The exception was:
exit: ExitFailure 1
make: *** [benchmark] Error 1
DARC Wonwin-McBrootles-Computer:~/playground/darcs/darcs.net$ darcs whatsnew
hunk ./GNUmakefile 73
+benchmark:
+       cabal update
+       cabal install darcs-benchmark
+
DARC Wonwin-McBrootles-Computer:~/playground/darcs/darcs.net$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.4
DARC Wonwin-McBrootles-Computer:~/playground/darcs/darcs.net$ cabal --version
cabal-install version 0.6.0
using version 1.6.0.1 of the Cabal library

(Related to issue1569.)

Regards,

Zooko

http://bugs.darcs.net/issue1569# fully autonomous automated
performance regression testing


More information about the darcs-users mailing list