cvss: performance pass - #1985
Open
hdonnay wants to merge 3 commits into
Open
Conversation
hdonnay
force-pushed
the
hack/perf/cvss
branch
3 times, most recently
from
August 17, 2026 16:16
670d3f1 to
8629d64
Compare
hdonnay
force-pushed
the
hack/perf/cvss
branch
from
August 17, 2026 19:17
8629d64 to
ab2f792
Compare
crozzy
reviewed
Aug 17, 2026
crozzy
left a comment
Contributor
There was a problem hiding this comment.
A couple of comments, everything else looks great
hdonnay
force-pushed
the
hack/perf/cvss
branch
from
August 18, 2026 17:41
ab2f792 to
1911f8e
Compare
hdonnay
force-pushed
the
hack/perf/cvss
branch
from
August 20, 2026 17:50
1911f8e to
5bb9b81
Compare
This restructures the benchmarks and adds an `encoding.TextMarshaler` benchmark. Signed-off-by: Hank Donnay <hdonnay@redhat.com> Change-Id: I9f83a521ac153eb88af8185ccde0562f6a6a6964
This is automated modernization rewrites. Signed-off-by: Hank Donnay <hdonnay@redhat.com> Change-Id: I949ea3ebad46f54e26b19188064994556a6a6964
This implements the new interface, redefines `encoding.TextMarshaler` using it, and adds benchmarks. The goal is to have `AppendText` do no unavoidable allocations, meaning that if the input slice has sufficient capacity there are no additional heap allocations to populate it. Signed-off-by: Hank Donnay <hdonnay@redhat.com> Change-Id: I50157434eb16073a14edb2b4bec253966a6a6964
hdonnay
force-pushed
the
hack/perf/cvss
branch
from
August 20, 2026 18:36
5bb9b81 to
eb7d014
Compare
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.
These changes add benchmarks, then implements
encoding.TextAppenderin search of minimizing allocations.Results from my machine