Repository navigation
perf(vpi): avoid metadata cloning during value access - #1668
Merged
mergify[bot] merged 1 commit intoOct 21, 2026
Conversation
Resolve compact signal storage separately from owned reflection metadata. Read widths, signedness and array leaf status without copying signal names or dimensions, and acquire the active host once per value snapshot. Copy only the forced value/mask needed by a read instead of its deposited-value history. Keep lazy array addressing, four-state mask offsets, callback identity and write ordering unchanged. A release profile of Taxi's eight-bit 1x1 crossbar shows value_bits taking about 12% of sampled CPU time before this change and about 7% afterwards. Four alternating fixed-seed runs of the no-pause stress test per version reduce median user CPU time from 28.34s to 26.47s (6.6%); each run executes one test and skips the other eleven. Validation: VPI unit/API tests (46 passed), opt-in cocotb integration tests (4 passed), formatting and affected-crate Clippy. Existing regressions cover multidimensional and bit-packed arrays, sibling preservation, alias identity, forces, callbacks and session ownership. Change-Id: I64bd0bd37b50d4aeef39f321aed85612dcdeae9b
This was referenced Oct 21, 2026
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
This pull request is part of a Mergify stack:
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
Merge Queue Status
This pull request spent 1 hour 36 minutes 49 seconds in the queue, including 44 minutes 17 seconds running CI. Required conditions to merge
|
This was referenced Oct 21, 2026
Base automatically changed from
stack/tignear/fix/taxi-compatibility/reject-empty-cocotb-test-selections--93316d15
to
master
October 21, 2026 02:37
mergify
Bot
deleted the
stack/tignear/fix/taxi-compatibility/avoid-metadata-cloning-value-access--64bd0bd3
branch
October 21, 2026 02:38
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.
Resolve compact signal storage separately from owned reflection metadata.
Read widths, signedness and array leaf status without copying signal names
or dimensions, and acquire the active host once per value snapshot. Copy only
the forced value/mask needed by a read instead of its deposited-value history.
Keep lazy array addressing, four-state mask offsets, callback identity and
write ordering unchanged. A release profile of Taxi's eight-bit 1x1 crossbar
shows value_bits taking about 12% of sampled CPU time before this change
and about 7% afterwards. Four alternating fixed-seed runs of the no-pause
stress test per version reduce median user CPU time from 28.34s to 26.47s
(6.6%); each run executes one test and skips the other eleven.
Validation: VPI unit/API tests (46 passed), opt-in cocotb integration tests
(4 passed), formatting and affected-crate Clippy. Existing regressions cover
multidimensional and bit-packed arrays, sibling preservation, alias identity,
forces, callbacks and session ownership.
Depends-On: #1661