add benchmark section (empty for now)
This commit is contained in:
parent
f5f25a7754
commit
ef8206c4ff
2 changed files with 24 additions and 0 deletions
8
core/Benchmarks/Benchmarks.hs
Normal file
8
core/Benchmarks/Benchmarks.hs
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
module Main where
|
||||||
|
|
||||||
|
import Connection
|
||||||
|
import Criterion.Main
|
||||||
|
|
||||||
|
--newPairContext pipe (cParams, sParams) = do
|
||||||
|
|
||||||
|
main = defaultMain []
|
|
@ -101,6 +101,22 @@ Test-Suite test-tls
|
||||||
, crypto-random-api
|
, crypto-random-api
|
||||||
ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
|
ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
|
||||||
|
|
||||||
|
Benchmark bench-tls
|
||||||
|
hs-source-dirs: Benchmarks Tests
|
||||||
|
Main-Is: Benchmarks.hs
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
Build-depends: base >= 4 && < 5
|
||||||
|
, tls
|
||||||
|
, x509
|
||||||
|
, crypto-random-api
|
||||||
|
, criterion
|
||||||
|
, cprng-aes
|
||||||
|
, mtl
|
||||||
|
, bytestring
|
||||||
|
, crypto-pubkey
|
||||||
|
, time
|
||||||
|
, QuickCheck >= 2
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/vincenthz/hs-tls
|
location: git://github.com/vincenthz/hs-tls
|
||||||
|
|
Loading…
Reference in a new issue