-
Notifications
You must be signed in to change notification settings - Fork 70
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
display stats/details before reset when --reset-stats
is enabled
#106
Comments
I think it should be default (can be follow up): Maybe even say something like: [Statistics] All users hatched, resetting statistics (disable with —no-reset-stats) Reason for default: GUI in locust does it by default or at least IIRC there is a very prominent checkbox and in my career I always used the reset as it helped distinguish ramp up from sustained load. In most cases warmup screws with max() and avg() statistics. If we output all statistics and give easy feedback how to disable it, I don’t see why we should not have reset stats as default. |
When A couple questions:
|
That's a hard question. Does Locust have --run-time? |
Yes: It seems they start counting from the start of the test, not after users are spawned: In our case, I assume we'd reset the timer when all user's are spawned if |
Yeah - probably cool to also allow specifying a —spawn-runtime. |
When enabled, the
--reset-stats
flag causes Goose to flush all statistics once all GooseUser's have launched. This ensures that the subsequent averages are accurate, and don't include the ramp up time.This issue is to enhance this so we display all statistics collected before flushing them, if we are displaying statistics. When displaying these stats, it should also be visually clear that all GooseUser's have now launched, and these are the ramp-up statistics.
The text was updated successfully, but these errors were encountered: