diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-05-12 07:17:15 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-05-12 07:17:15 +0400 |
commit | eff48f66c6d8e7231eef0ef3c3561e19865a2637 (patch) | |
tree | 151c2473d34958d0e7964f2bc905e517b90b1ce1 /krpc.cabal | |
parent | 5ee611585e4eb6acb89b34e6679d89e25098e23b (diff) |
+ Add basic bench.
Diffstat (limited to 'krpc.cabal')
-rw-r--r-- | krpc.cabal | 36 |
1 files changed, 25 insertions, 11 deletions
@@ -13,6 +13,11 @@ bug-reports: https://github.com/pxqr/krpc/issues | |||
13 | synopsis: KRPC remote procedure call protocol implementation. | 13 | synopsis: KRPC remote procedure call protocol implementation. |
14 | description: KRPC remote procedure call protocol implementation. | 14 | description: KRPC remote procedure call protocol implementation. |
15 | 15 | ||
16 | source-repository head | ||
17 | type: git | ||
18 | location: https://github.com/pxqr/krpc.git | ||
19 | |||
20 | |||
16 | 21 | ||
17 | library | 22 | library |
18 | exposed-modules: Remote.KRPC | 23 | exposed-modules: Remote.KRPC |
@@ -38,22 +43,31 @@ library | |||
38 | 43 | ||
39 | 44 | ||
40 | 45 | ||
41 | executable echo-client | 46 | |
47 | executable exsample-client | ||
42 | main-is: Client.hs | 48 | main-is: Client.hs |
43 | other-modules: Shared | 49 | other-modules: Shared |
44 | 50 | build-depends: base == 4.*, krpc | |
45 | build-depends: base == 4.* | ||
46 | , krpc | ||
47 | |||
48 | hs-source-dirs: examples | 51 | hs-source-dirs: examples |
49 | 52 | ||
50 | 53 | executable exsample-server | |
51 | |||
52 | executable echo-server | ||
53 | main-is: Server.hs | 54 | main-is: Server.hs |
54 | other-modules: Shared | 55 | other-modules: Shared |
56 | build-depends: base == 4.*, krpc | ||
57 | hs-source-dirs: examples | ||
55 | 58 | ||
56 | build-depends: base == 4.* | ||
57 | , krpc | ||
58 | 59 | ||
59 | hs-source-dirs: examples | 60 | |
61 | |||
62 | executable bench-server | ||
63 | main-is: Server.hs | ||
64 | build-depends: base == 4.*, krpc | ||
65 | hs-source-dirs: bench | ||
66 | ghc-options: -O2 | ||
67 | |||
68 | benchmark bench-client | ||
69 | type: exitcode-stdio-1.0 | ||
70 | main-is: Main.hs | ||
71 | hs-source-dirs: bench | ||
72 | build-depends: base == 4.5.*, krpc, criterion | ||
73 | ghc-options: -O2 \ No newline at end of file | ||