Repository navigation
Conversation
…aths up Two amendments to the perf-review rubric, both from reviewing #12397. Pre-existing code is in scope when the diff changes its execution context: it now runs more often, under a new lock, on a different thread, or ahead of a new branch that makes it run more often. A blind review of #12397 missed an existing per-trace string concatenation the PR moved inside a new synchronized block on the sampling path, because the line itself was unchanged. Propagation and header paths, and the propagation state updated on every trace behind them, are exceptionally hot: findings there move up one severity notch, and eager work for an optional propagation format belongs at inject/export time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
This branch has not been deployed
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.
What Does This Do
Two amendments to the perf-review skill (
SKILL.mdandreferences/checks.md):Motivation
Both come from reviewing #12397 (OTel consistent tracestate sampling, shipped in v1.67.0):
OtelTraceStateper trace, and anew Object()lock on every span'sPTags. It missedTagValue.from("-" + samplingMechanism), a per-trace string concatenation that check First PR - Implements the Opentracing API #2 covers. The line predates the PR, but the PR moved it inside its newsynchronizedblock on the sampling path. A context-assisted run did flag it. Rule 1 closes that gap without opening the review up to every pre-existing issue near a diff.OtelTraceStateSEV-3, while the context-assisted run rated it SEV-2. Rule 2 encodes that weighting.Additional Notes
🤖 Generated with Claude Code