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:
parent
29149e5385
commit
9be673de5e
12
pkgs/development/libraries/haskell/benchpress/default.nix
Normal file
12
pkgs/development/libraries/haskell/benchpress/default.nix
Normal 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 = [];
|
||||||
|
})
|
||||||
|
|
12
pkgs/development/libraries/haskell/maybench/default.nix
Normal file
12
pkgs/development/libraries/haskell/maybench/default.nix
Normal 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];
|
||||||
|
})
|
||||||
|
|
@ -3760,6 +3760,14 @@ let
|
|||||||
|
|
||||||
### DEVELOPMENT / LIBRARIES / HASKELL
|
### 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 {
|
binary = import ../development/libraries/haskell/binary {
|
||||||
inherit cabal;
|
inherit cabal;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user