Skip to content

fix(ci): preserve native Rust codegen - #574

Closed
samuelburnham wants to merge 1 commit into
mainfrom
ci-fix-rustflags
Closed

fix(ci): preserve native Rust codegen#574
samuelburnham wants to merge 1 commit into
mainfrom
ci-fix-rustflags

Conversation

@samuelburnham

Copy link
Copy Markdown
Member

The setup-rust-toolchain action clobbers RUSTFLAGS per https://github.com/actions-rust-lang/setup-rust-toolchain#rustflags, so AVX-512 was getting disabled in CI. This PR restores native codegen via an empty rustflags input to the setup action, and centralizes it in a reusable action to make maintenance easier.

@samuelburnham

Copy link
Copy Markdown
Member Author

!benchmark aiur fresh

@argument-ci-bot

argument-ci-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

!benchmark — main vs 68070d3

backends: aiur=prove · envs: InitStd · set: primary · shard: 0 · baseline: fresh (base-SHA run, bencher bypassed)

aiur · InitStd · prove — main from: base run @ b7bbaf8 (fresh — bencher bypassed)

6 constants · 3 with regressions · 3 with improvements (|Δ| > 3.0% on any metric).

Stage 1 — IxVM on FRI (6 constants)
constant execute-time (main) execute-time (PR) Δ% prove-time (main) prove-time (PR) Δ% peak-ram (main) peak-ram (PR) Δ% proof-size (main) proof-size (PR) Δ% verify-time (main) verify-time (PR) Δ% fft-cost (main) fft-cost (PR) Δ%
Array.extract_append 11.310 s 11.043 s -2.4% 40.312 s 40.200 s -0.3% 77.81 GiB 77.70 GiB -0.1% 10.94 MiB 10.94 MiB +0.0% 78.3 ms 85.0 ms +8.6% (1.09× slower) ⚠️ 156.30B 156.30B +0.0%
ByteArray.utf8DecodeChar?_utf8EncodeChar_append 10.236 s 10.182 s -0.5% 37.959 s 37.878 s -0.2% 76.48 GiB 76.47 GiB -0.0% 10.99 MiB 10.99 MiB +0.0% 67.8 ms 68.9 ms +1.7% 153.04B 153.04B +0.0%
Char.ofOrdinal_le_of_le 7.073 s 6.989 s -1.2% 30.351 s 29.899 s -1.5% 64.32 GiB 64.35 GiB +0.0% 11.00 MiB 11.00 MiB +0.0% 72.9 ms 73.7 ms +1.1% 107.22B 107.22B +0.0%
_private.Init.Data.Range.Polymorphic.SInt.0.Int64.instRxcHasSize_eq 3.905 s 3.900 s -0.1% 17.857 s 17.775 s -0.5% 36.68 GiB 36.64 GiB -0.1% 10.91 MiB 10.91 MiB +0.0% 68.0 ms 69.9 ms +2.7% 60.82B 60.82B +0.0%
String.append 426.2 ms 411.5 ms -3.4% 🟢 2.428 s 2.424 s -0.2% 5.80 GiB 4.77 GiB -17.8% (1.22× smaller) 🟢 9.74 MiB 9.74 MiB +0.0% 62.2 ms 62.8 ms +0.9% 3.28B 3.28B +0.0%
Nat.add_comm 255.5 ms 280.9 ms +9.9% (1.10× slower) ⚠️ 1.097 s 1.112 s +1.4% 3.98 GiB 4.74 GiB +19.1% (1.19× larger) ⚠️ 8.90 MiB 8.90 MiB +0.0% 53.9 ms 54.6 ms +1.3% 303.19M 303.19M +0.0%
Stage 2 — FRI recursion on FRI (6 constants)
constant execute-time (main) execute-time (PR) Δ% prove-time (main) prove-time (PR) Δ% peak-ram (main) peak-ram (PR) Δ% proof-size (main) proof-size (PR) Δ% verify-time (main) verify-time (PR) Δ% fft-cost (main) fft-cost (PR) Δ%
Array.extract_append 5.159 s 5.136 s -0.4% 32.835 s 32.806 s -0.1% 90.51 GiB 90.46 GiB -0.1% 3.97 MiB 3.97 MiB +0.0% 25.8 ms 26.1 ms +1.0% 198.33B 198.33B +0.0%
ByteArray.utf8DecodeChar?_utf8EncodeChar_append 5.249 s 5.253 s +0.1% 34.273 s 34.133 s -0.4% 94.66 GiB 95.36 GiB +0.7% 3.97 MiB 3.97 MiB +0.0% 36.6 ms 26.9 ms -26.3% (1.36× faster) 🟢 203.36B 203.36B +0.0%
Char.ofOrdinal_le_of_le 5.261 s 5.224 s -0.7% 34.311 s 34.101 s -0.6% 94.55 GiB 95.39 GiB +0.9% 3.97 MiB 3.97 MiB +0.0% 26.7 ms 25.3 ms -5.1% (1.05× faster) 🟢 203.66B 203.66B +0.0%
_private.Init.Data.Range.Polymorphic.SInt.0.Int64.instRxcHasSize_eq 5.075 s 5.072 s -0.1% 32.669 s 32.773 s +0.3% 89.98 GiB 89.92 GiB -0.1% 3.97 MiB 3.97 MiB +0.0% 26.0 ms 27.7 ms +6.9% (1.07× slower) ⚠️ 197.42B 197.42B +0.0%
String.append 4.220 s 4.188 s -0.8% 31.226 s 31.197 s -0.1% 87.83 GiB 87.79 GiB -0.0% 3.97 MiB 3.97 MiB +0.0% 25.2 ms 25.6 ms +1.3% 165.44B 165.44B +0.0%
Nat.add_comm 3.443 s 3.399 s -1.3% 21.171 s 21.017 s -0.7% 57.70 GiB 57.76 GiB +0.1% 3.97 MiB 3.97 MiB +0.0% 25.4 ms 25.8 ms +1.4% 127.65B 127.65B +0.0%
Pipeline total (6 constants)
constant total-time (main) total-time (PR) Δ% pipeline-peak-ram (main) pipeline-peak-ram (PR) Δ%
Array.extract_append 1m 13.1s 1m 13.0s -0.2% 90.51 GiB 90.46 GiB -0.1%
ByteArray.utf8DecodeChar?_utf8EncodeChar_append 1m 12.2s 1m 12.0s -0.3% 94.66 GiB 95.36 GiB +0.7%
Char.ofOrdinal_le_of_le 1m 4.7s 1m 4.0s -1.0% 94.55 GiB 95.39 GiB +0.9%
_private.Init.Data.Range.Polymorphic.SInt.0.Int64.instRxcHasSize_eq 50.526 s 50.548 s +0.0% 89.98 GiB 89.92 GiB -0.1%
String.append 33.654 s 33.621 s -0.1% 87.83 GiB 87.79 GiB -0.0%
Nat.add_comm 22.268 s 22.129 s -0.6% 57.70 GiB 57.76 GiB +0.1%

Workflow logs

@samuelburnham

Copy link
Copy Markdown
Member Author

Superseded by #575

@samuelburnham
samuelburnham deleted the ci-fix-rustflags branch August 20, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant