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

wrk gave less request number #316

Closed
wenchma opened this issue Jan 23, 2018 · 1 comment
Closed

wrk gave less request number #316

wenchma opened this issue Jan 23, 2018 · 1 comment

Comments

@wenchma
Copy link

wenchma commented Jan 23, 2018

hi,

I used wrk to complete 1530 requests in 1.09s, but I found my backend service received 2529 requests,
it's strange, why the numbers are different ?

I ran the following cmd:

wrk --timeout 1m -c 1000 -d 1 -t 20
@wg
Copy link
Owner

wg commented Jan 24, 2018

Hey @wenchma, wrk doesn't count requests that are in-flight when the benchmark ends. You've got a lot of connections going there and a very short duration so there'll likely be a lot of requests pending. wrk's request count output isn't meant to be comprehensive, it's just the number used for calculating statistics.

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

No branches or pull requests

2 participants