Skip to content

Instantly share code, notes, and snippets.

@kamilziajka
Last active October 7, 2016 11:39
Show Gist options
  • Save kamilziajka/d0efe0c04cbef38b3ef751e76b42e411 to your computer and use it in GitHub Desktop.
Save kamilziajka/d0efe0c04cbef38b3ef751e76b42e411 to your computer and use it in GitHub Desktop.
apache benchmark
#!/usr/bin/env sh
ab -p input.json -T application/json -c 8 -n 10000 http://localhost:5000/
#!/usr/bin/env sh
curl -X POST -d @input.json --header "Content-Type: application/json" http://localhost:5000/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment