-
Notifications
You must be signed in to change notification settings - Fork 69
Add "gateway benchmark-stream"(PRIME-651, PRIME-654, PRIME-655) #1138
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
Conversation
@vdavid is this ready for review now? And is Code Search who you want reviewing it? |
@camdencheek, very sorry, I have no idea how I got Code Search tagged on this one. Pls ignore. |
Haha, no worries. I think we're auto-tagged on this repo since we're codeowners. |
* Add --use-special-header to gateway benchmark * Add individual request CSV output to the "benchmark gateway" command
@slimsag, I've added some more changes to this but it's roughly the same as when you reviewed it, plus I went another quick round on it, adding a bit more docs and the such. I'll merge it to avoid growing it further, but feel free to re-review it and ask for fixes. |
This PR:
gateway benchmark-stream
endpoint similar togateway benchmark
with the capability to test the actual code completion endpoints on SG and CG instances.--use-special-header
flag and optional request-level CSV output to the "benchmark gateway" command.This is done for benchmarking purposes for these three issues:
See those issues for more context.
Test plan
Manual QA: I used the tool several times after the changes.