-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Multiple runs on scale-from-zero test #3059
Multiple runs on scale-from-zero test #3059
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@greghaynes: 0 warnings.
In response to this:
This is a fairly noisy test, lets do 5 runs and report a min/max/avg so
we can get more clear data.Release Note
NONE
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
we have the fortio integration to send load. If you can use that, it provides all these stats already. |
var avg time.Duration | ||
var avg, min, max time.Duration | ||
min = durations[0] | ||
max = durations[0] | ||
|
||
for _, dur := range durations { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for _, dur := range durations { | |
for _, dur := range durations[1:] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
although the min/max checks are a noop on the first loop, I need to run it for the avg aggregating.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, but you can also do avg=durations[0], no? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, was optimizing for LOC :)
/uncc @adrcunha |
3830126
to
2ef0f44
Compare
d6e51d6
to
b2b4cca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stylistic nit, otherwise looks good.
This is a fairly noisy test, lets do 5 runs and report a min/max/avg so we can get more clear data.
b2b4cca
to
6905b32
Compare
/retest |
/approve |
/lgtm |
@vagababov Could you PTAL? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold cancel
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: greghaynes, srinivashegde86, vagababov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is a fairly noisy test, lets do 5 runs and report a min/max/avg so
we can get more clear data.
Release Note