docs: update real-world findings — grpc-go, sql.DB benchmarks, abandoned CLs - #49
Open
gidotencate wants to merge 1 commit into
Open
docs: update real-world findings — grpc-go, sql.DB benchmarks, abandoned CLs#49gidotencate wants to merge 1 commit into
gidotencate wants to merge 1 commit into
Conversation
…ndoned CLs - Add grpc-go clientStream to summary table (288B→256B, PR #9281 pending) - Add grpc-go section with full sizeclass context - Add sql.DB benchmark numbers (7–25× under 1–4 concurrent stressors, CL 767580) - Mark net/http.Transport (CL 767600) abandoned: end-to-end benchmarks showed ~28 µs round-trip dominates mutex cost; no measurable production impact - Mark net/http.response (CL 767581) abandoned: Go team policy (code clarity > byte savings), confirmed sizeclass savings, but only 1–5% in synthetic benchmarks - Add "When findings are actionable" note: I/O-dominated paths (HTTP, DB wire protocol) dwarf cache-line benefits; findings matter most on in-memory pools and CPU-bound hot paths
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
clientStreamto summary table (288B→256B sizeclass reduction, PR #9281 pending)database/sql.DBbenchmark numbers: 7–25× improvement under 1–4 concurrent stressors (CL 767580 pending)net/http.Transport(CL 767600) as abandoned: end-to-end RoundTrip benchmarks showed ~28 µs network round-trip completely dominates mutex acquisition cost; no measurable production impactnet/http.response(CL 767581) as abandoned: Go team policy (code clarity over byte savings); sizeclass savings were confirmed (232B→216B, different allocator classes) but synthetic benchmarks only showed 1–5%Test plan