Repository navigation
[Fusion] Align the k6 benchmarks with graphql-federation-benchmarks - #10652
Merged
Merged
Conversation
Move the composite schema benchmarks to k6/gf and add the same benchmarks for Apollo Federation subgraphs under k6/af. - Gateway: use the published settings (lowercase "fusion" client with RemoveAllLoggers, MaxConnectionsPerServer 256, Authorization header propagation, disableDefaultSecurity, no ThreadPool minimum) and the published gateway.far. The published FusionPoolDiagnostics replaces the two unused pool listeners. - Source schemas: take the published code (request interceptor, BENCHMARK_SUBGRAPH_DELAY_MS latency middleware, MapGraphQLHttp, lookup tables in reviews) and schemas. - k6: deep-recursion.js is the published k6.js, no-recursion.js uses the same harness. run-single-benchmark.sh uses the published CPU pinning profiles, a constant-latency mode and a discarded warmup run. - af: the published Apollo Federation subgraphs and Fusion gateway, built against the repository projects.
- af source schemas keep default security like the published ones and only stop enforcing the cost limit, which this repository's cost analysis exceeds for the gateway's entity requests. - The gf gateway enables runtime-async like the published net11 build. - run-single-benchmark.sh selects the pinning profile from all hardware threads (16 or more), passes GATEWAY_ENDPOINT, stops leftover services before starting, reads k6 rate metrics from their exported value, leaves runs with failed requests or checks out, and reports the median run by requests per second. - CI runs the constant-latency mode and shows error_rate as a percentage. - eShop.Inventory drops the unused parent parameter.
This was referenced Oct 25, 2026
Merged
This was referenced Nov 1, 2026
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.
No description provided.