Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have add some time statistics just like AB. #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lxu4net
Copy link

@lxu4net lxu4net commented Apr 22, 2012

liangxu@master:~/git/weighttp$ ./build/default/weighttp -n 1000000 -c 2048 -t 4 "http://127.0.0.1:9000/test"
weighttp - a lightweight and simple webserver benchmarking tool

starting benchmark...
spawning thread #1: 512 concurrent requests, 250000 total requests
spawning thread #2: 512 concurrent requests, 250000 total requests
spawning thread #3: 512 concurrent requests, 250000 total requests
spawning thread #4: 512 concurrent requests, 250000 total requests
progress:  10% done
progress:  20% done
progress:  30% done
progress:  40% done
progress:  50% done
progress:  60% done
progress:  70% done
progress:  80% done
progress:  90% done
progress: 100% done

finished in 21 sec, 138 millisec and 418 microsec, 47307 req/s, 12981 kbyte/s
requests: 1000000 total, 1000000 started, 1000000 done, 1000000 succeeded, 0 failed, 0 errored
status codes: 1000000 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 281000000 bytes total, 85000000 bytes http, 196000000 bytes data

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:    0.024 15.089 246.2  0.131 21041.707
Processing: 0.060 16.799  78.9 15.625 6848.592
Waiting:    0.060 16.799  78.9 15.625 6848.592
Total:      5.852 31.887 286.4 15.910 21042.083

Percentage of the requests served within a certain time (ms)
  50%  15.910
  66%  16.217
  75%  16.451
  80%  16.636
  90%  17.304
  95%  18.411
  98%  21.767
  99%  29.097
 100%  21042.083 (longest request)

@hvr
Copy link

hvr commented Feb 17, 2013

fyi, the statistics are broken when using the -keepalive option

@jbenden
Copy link

jbenden commented Aug 6, 2017

FYI: When building under Ubuntu 16.04.2 LTS; I had to modify the build script to include the C math library, as during the link stage I experienced an undefined reference to symbol sqrt@@GLIBC_2.2.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants