Skip to content

Instantly share code, notes, and snippets.

@bgamari
Created July 19, 2020 19:06
Show Gist options
  • Save bgamari/132794333952ceafaedc94b28763e6f9 to your computer and use it in GitHub Desktop.
Save bgamari/132794333952ceafaedc94b28763e6f9 to your computer and use it in GitHub Desktop.
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