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

Support input type payload for timing strategy #209

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

lkomali
Copy link
Contributor

@lkomali lkomali commented Dec 6, 2024

As part of timing strategy, this PR adds a new type for --input-file arg.
With this change, user can set --input-file=payload:"path-to-timing-file" to pass the file that has request level timing information.
In the input file, users can set the time at which request should be sent.
For example, {"timestamp":"1"} will send request at 1 second.

@lkomali lkomali changed the title Support payload input for timing strategy Support input type payload for timing strategy Dec 6, 2024
@lkomali lkomali requested a review from ganeshku1 December 6, 2024 23:25
@dyastremsky
Copy link
Contributor

Should this be targeting a feature branch or is this the whole feature? Also, could you update the branch off of main?

@lkomali
Copy link
Contributor Author

lkomali commented Dec 7, 2024

@dyastremsky Yep sorry, should base off of a feature branch. Thanks for catching that.

@lkomali lkomali changed the base branch from main to feature-request-level-timing December 7, 2024 00:35
Copy link
Contributor

@dyastremsky dyastremsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes generally look good! Thanks for providing great testing coverage.

genai-perf/genai_perf/parser.py Outdated Show resolved Hide resolved
Replace with correct variable
Copy link
Contributor

@debermudez debermudez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure that comment is correct but I think it can go in.

@lkomali lkomali merged commit 7ca4922 into feature-request-level-timing Dec 10, 2024
6 of 7 checks passed
@lkomali lkomali deleted the lkomali-add-payload-input branch December 10, 2024 05:23
dyastremsky pushed a commit that referenced this pull request Dec 17, 2024
debermudez pushed a commit that referenced this pull request Jan 3, 2025
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

Successfully merging this pull request may close these issues.

3 participants