Added maybench, an automated benchmarking tool. The tool depends on benchpress,

a Haskell library for timed command execution.

For starters, the expression lives in development/libraries/haskell/maybench.
It doesn't really belong there because, though, because, technically, it's an
executable, not a library. If someone has a better idea, please feel free to
move it.

svn path=/nixpkgs/trunk/; revision=12761
This commit is contained in:
Peter Simons 2008-08-29 09:05:49 +00:00
parent 29149e5385
commit 9be673de5e
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "benchpress";
version = "0.2.2";
sha256 = "185j2viimr1vbbgh9havdj2nskim8apih1fyvwln76jfrwypy194";
meta = {
description = "Benchmarks actions and produces statistics such as min, mean, and median execution time.";
};
propagatedBuildInputs = [];
})

View File

@ -0,0 +1,12 @@
{cabal, benchpress}:
cabal.mkDerivation (self : {
pname = "maybench";
version = "0.2.4";
sha256 = "1g7hby0ffjry60xhs09gf1n848c9n60mjjq7jf94c116x24w1gdd";
meta = {
description = "Automated benchmarking tool.";
};
propagatedBuildInputs = [benchpress];
})

View File

@ -3760,6 +3760,14 @@ let
### DEVELOPMENT / LIBRARIES / HASKELL
benchpress = import ../development/libraries/haskell/benchpress {
inherit cabal;
};
maybench = import ../development/libraries/haskell/maybench {
inherit cabal benchpress;
};
binary = import ../development/libraries/haskell/binary {
inherit cabal;
};