From 8383b390357e30225b78b7e7e06692bb49bf0f07 Mon Sep 17 00:00:00 2001 From: Brett Langdon Date: Sun, 21 Oct 2012 18:26:46 -0700 Subject: [PATCH] Updated readme to better show usage. --- Readme.md | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 4f2a84d..4c7c41b 100644 --- a/Readme.md +++ b/Readme.md @@ -56,8 +56,43 @@ Options: ``` ### Simple Usage +#### Config +```ini +[localhost] +port=8000 +``` +#### Benchmark +```bash +tommygun -c 10 -n 1000 config.ini +``` + +#### Results ```bash -tommygun config.ini +Starting Up 10 Clients +Queuing Up 1000 Requests +Finished +Elapsed Time (sec): 0.233 +Completed Requests: 1000 +Errors: 0 +Requests per Second: 4291.845493562231 +Processing Results +Results For: http://localhost/ + Total Requests: 1000 + Mean Time (ms): 2.159 + Min Time (ms): 1 + Max Time (ms): 16 + Total Time (ms): 2159 + 50% (ms): 2 + 60% (ms): 2 + 70% (ms): 2 + 80% (ms): 3 + 90% (ms): 4 + 95% (ms): 6 + 98% (ms): 8 + 99% (ms): 10 + Status Code Distribution: + 200 514 + 404 486 ``` ## Name