Created
July 19, 2020 19:06
-
-
Save bgamari/132794333952ceafaedc94b28763e6f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ulimit -n 32000 | |
_build/stage1/bin/ghc -O -threaded -rtsopts EchoServer.hs -debug | |
./EchoServer +RTS -N4 -s -DS -RTS & | |
echo 'GET http://localhost:3000/' | nix run nixpkgs.vegeta -c vegeta attack -rate 4000 -body Vagrantfile >out | |
kill %1 | |
nix run nixpkgs.vegeta -c vegeta report < out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment