Repository navigation
Add scale from zero performance test - #2323
Conversation
knative-prow-robot
left a comment
There was a problem hiding this comment.
@greghaynes: 0 warnings.
Details
In response to this:
Create series of tests which record our scale from zero time by
measuring duration of a single request after a revision has scaled to
zero. Also record these values as we scale up the number of revisions.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.
f65ca5a to
a0d0d00
Compare
vvraskin
left a comment
There was a problem hiding this comment.
Great PR Greg, would be pretty useful for the performance debugging.
I know its a WIP, but I think it would be easier to comment here rather then via PM.
(still lacking the test framework knowledge, please bear with the comments)
greghaynes
left a comment
There was a problem hiding this comment.
Thanks for the reviews!
a0d0d00 to
b1907b0
Compare
b1907b0 to
69ce09d
Compare
|
/hold This is built on top of #2320 which needs to merge first |
2629677 to
ee7e7e6
Compare
| Domain string | ||
| } | ||
|
|
||
| func CreateRouteAndConfig(clients *test.Clients, logger *logging.BaseLogger, imagePath string, options *test.Options) (test.ResourceNames, error) { |
There was a problem hiding this comment.
why can't we share the code with e2e tests? this is duplicated code.
| -f config/monitoring/tracing/zipkin | ||
| } | ||
|
|
||
| function create_namespace() { |
There was a problem hiding this comment.
can we pass in the actual name as parameter? so that other tests can use it but with their choice of namespace name.
| } | ||
|
|
||
| // GetServiceEndpoint gets the endpoint IP or hostname to use for the service | ||
| func GetServiceEndpoint(client *test.Clients) (*string, error) { |
There was a problem hiding this comment.
this function seems more general purposed than perf tests, a good candidate to be a common function. Similar to a few other functions in the file.
|
it seems that you have a lot of conflicts and there are some changes in the repo that are showing as changes here. Can you please clean up this PR and then I can take a look at this. Thanks. |
ee7e7e6 to
4ff0f6c
Compare
|
/hold cancel |
4ff0f6c to
ca8c5a9
Compare
markusthoemmes
left a comment
There was a problem hiding this comment.
Left a few comments throughout. I think this can make a greater use of common functionality to simplify things and make the test's coder shorter overall. WDYT?
markusthoemmes
left a comment
There was a problem hiding this comment.
A few last nits, thanks for reworking the test!
76739b7 to
9ebad66
Compare
1524bef to
2ce25f9
Compare
vagababov
left a comment
There was a problem hiding this comment.
/lgtm
single small suggestion.
|
/test pull-knative-serving-integration-tests Has to be a flake - didnt touch this code |
2ce25f9 to
47d43f2
Compare
|
/test pull-knative-serving-integration-tests |
47d43f2 to
4577d8f
Compare
|
small nit. |
Create series of tests which record our scale from zero time by measuring duration of a single request after a revision has scaled to zero. Also record these values as we scale up the number of revisions.
4577d8f to
0b520f1
Compare
|
/lgtm |
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Create series of tests which record our scale from zero time by
measuring duration of a single request after a revision has scaled to
zero. Also record these values as we scale up the number of revisions.
Related to #2495
Release Note