Skip to content

Speed up the Rust recovery test with test-profile optimization - #288

Merged
sidmohan0 merged 1 commit into
mainfrom
accelerate-rust-recovery-tests
Nov 21, 2026
Merged

sidmohan0 merged 1 commit into
mainfrom
accelerate-rust-recovery-tests

Conversation

@sidmohan0

@sidmohan0 sidmohan0 commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Compile datafog-core at optimization level 1 and zeroize at level 3 in the test profile. The exact-byte recovery test repeatedly wipes a 16 MiB buffer across 256 recoveries. Both the caller and concrete wipe implementations contribute to its runtime. The test inputs, assertions, overflow checks and release settings are unchanged.

In local profiling, the unchanged test passed in 14.04 seconds with both overrides. The unoptimized probe was still running at 247 seconds when stopped. On GitHub Actions, the full workspace test step including compilation took 10m 15s on the parent and 1m 19s here (87% less). All 398 named tests passed in both logs, including the recovery boundary test. Formatting and all-targets/all-features Clippy also passed. Parent Rust quality · PR Rust quality

The separate cross-SDK cargo dfv check step went from 11m 16s to 2m 59s. These are single-run hosted comparisons. Parent verifier · PR verifier

Changelog exemption: Rust test compilation settings only.

@sidmohan0 sidmohan0 added the no-changelog No user-facing change; requires Changelog exemption reason in PR body label Nov 21, 2026
@sidmohan0
sidmohan0 added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit ecb9d31 Nov 21, 2026
61 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No user-facing change; requires Changelog exemption reason in PR body

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant