aiur: verify u32 addition from hinted sum - #556
Draft
gabriel-barrett wants to merge 2 commits into
Draft
Conversation
Codegen regenerated; all 71 kernel FFT pins and the shard-pipeline aggregate re-measured: every pin drops (median -3.7%, up to -7.9% on the string/byte-heavy checks), shard aggregate -9.9%. aiur (cargo + prove suite incl. parity), ixvm, multi-stark and recursive-verifier suites pass; fmt, clippy, deny clean.
Member
Author
|
!benchmark aiur-recursive fresh |
|
| constant | recursive-prove-time (main) | recursive-prove-time (PR) | Δ% | recursive-peak-ram (main) | recursive-peak-ram (PR) | Δ% | recursive-proof-size (main) | recursive-proof-size (PR) | Δ% | recursive-verify-time (main) | recursive-verify-time (PR) | Δ% | recursive-execute-time (main) | recursive-execute-time (PR) | Δ% | recursive-fft-cost (main) | recursive-fft-cost (PR) | Δ% | prove-time (main) | prove-time (PR) | Δ% | proof-size (main) | proof-size (PR) | Δ% | verify-time (main) | verify-time (PR) | Δ% | peak-ram (main) | peak-ram (PR) | Δ% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Nat.add_comm |
26.504 s | 31.599 s | +19.2% (1.19× slower) |
80.81 GiB | 64.22 GiB | -20.5% (1.26× smaller) 🟢 | 5.48 MiB | 5.36 MiB | -2.2% | 33.1 ms | 33.8 ms | +2.2% | 4.142 s | 12.498 s | +201.8% (3.02× slower) |
148.08B | 122.99B | -16.9% (1.20× fewer) 🟢 | 1.017 s | 1.033 s | +1.5% | 9.11 MiB | 8.99 MiB | -1.3% | 58.2 ms | 57.9 ms | -0.5% | 3.44 GiB | 4.22 GiB | +22.6% (1.23× larger) |
Codegen regenerated; all 71 kernel FFT pins and the shard-pipeline aggregate re-measured: every pin drops again (median -1.5%, up to -3.4% on the string/byte-heavy checks), shard aggregate -4.3% on top of the hinted-adder commit (-13.8% combined). aiur (cargo + prove suite incl. parity), ixvm, multi-stark and recursive-verifier suites pass; fmt, clippy, deny clean.
Member
Author
|
!benchmark aiur-recursive fresh |
|
| constant | recursive-prove-time (main) | recursive-prove-time (PR) | Δ% | recursive-peak-ram (main) | recursive-peak-ram (PR) | Δ% | recursive-proof-size (main) | recursive-proof-size (PR) | Δ% | recursive-verify-time (main) | recursive-verify-time (PR) | Δ% | recursive-execute-time (main) | recursive-execute-time (PR) | Δ% | recursive-fft-cost (main) | recursive-fft-cost (PR) | Δ% | prove-time (main) | prove-time (PR) | Δ% | proof-size (main) | proof-size (PR) | Δ% | verify-time (main) | verify-time (PR) | Δ% | peak-ram (main) | peak-ram (PR) | Δ% |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Nat.add_comm |
26.528 s | 32.516 s | +22.6% (1.23× slower) |
82.19 GiB | 59.44 GiB | -27.7% (1.38× smaller) 🟢 | 5.48 MiB | 5.31 MiB | -3.0% 🟢 | 33.1 ms | 32.8 ms | -1.1% | 4.142 s | 14.644 s | +253.6% (3.54× slower) |
148.08B | 112.77B | -23.9% (1.31× fewer) 🟢 | 1.010 s | 1.057 s | +4.6% |
9.11 MiB | 8.94 MiB | -1.8% | 57.5 ms | 56.5 ms | -1.7% | 4.11 GiB | 4.44 GiB | +8.2% (1.08× larger) |
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.
u32_addoptimization