mirror of
https://github.com/haskell-servant/servant-ekg.git
synced 2024-12-25 19:29:45 +01:00
Bench more connections
This commit is contained in:
parent
6f129e331d
commit
ddb47d7d5e
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ servantEkgServer = do
|
|||
|
||||
benchApp :: IO Application -> IO ()
|
||||
benchApp app = withApplication app $ \port ->
|
||||
callCommand $ "wrk -c 2 -d 10s -s bench/wrk.lua -t 2 'http://localhost:" ++ show port ++ "'"
|
||||
callCommand $ "wrk -c 30 -d 20s --latency -s bench/wrk.lua -t 2 'http://localhost:" ++ show port ++ "'"
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
|
|
Loading…
Reference in a new issue