feat: add AI gateway benchmark mode#85
Open
HeyGarrison wants to merge 6 commits intomasterfrom
Open
Conversation
Contributor
AI Gateway Benchmark ResultsSHORT NONSTREAMModel:
SHORT STREAMModel:
|
Contributor
Sandbox Benchmark ResultsSequential
Staggered
Burst
View full run · SVGs available as build artifacts |
Contributor
Storage Benchmark Results1MB Files
4MB Files
10MB Files
16MB Files
View full run · SVGs available as build artifacts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ai-gatewaybenchmark mode with provider configs, scenario-based runs (short-nonstream,short-stream), gateway-specific scoring, and JSON result output underresults/ai_gateway/<scenario>/ai-gatewayinto the main runner and merge pipeline so matrix artifacts can be combined viasrc/merge-results.ts --mode ai-gatewayWhat This Tests
POST /chat/completionsAI_GATEWAY_MODELOut of Scope (Intentional)
Future Scope
Included In This PR
src/ai-gateway/src/run.tssrc/merge-results.tspackage.json.github/workflows/ai-gateway-benchmarks.ymlValidation
npm run bench -- --mode ai-gateway --provider openrouter --iterations 1(validated mode wiring and skip behavior when creds are missing)npx tsx src/merge-results.ts --input /tmp/ai-gateway-merge-check --mode ai-gateway(validated merge-mode entrypoint)