From 50adb1502da115d506cd02eb8a4325122fb95087 Mon Sep 17 00:00:00 2001 From: Ciaran Ryan-Anderson Date: Fri, 4 Sep 2026 11:34:08 -0600 Subject: [PATCH] Build pecos-stab-tn at opt-level 2 in dev and test profiles like the other simulation crates --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 84a134911..70365e31c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -297,6 +297,9 @@ clone_on_copy = "allow" # `cxx::bridge` derives `Clone` for its generated FFI st # statistical validation tests (e.g. the surface-code LER equivalence # gate) need tens of thousands of simulated shots and are unusably slow # unoptimized (>10 min vs ~2 min). Debug assertions remain enabled. +# pecos-stab-tn is on the list for the same reason: its unit tests take +# 159 s unoptimized and 6 s at opt-level 2 (measured 2026-09-04), and they +# were the second-largest share of the PR gate's Rust test time. [profile.dev.package.pecos-core] opt-level = 2 [profile.dev.package.pecos-random] @@ -315,6 +318,8 @@ opt-level = 2 opt-level = 2 [profile.dev.package.fusion-blossom] opt-level = 2 +[profile.dev.package.pecos-stab-tn] +opt-level = 2 # batsat's solver core is tested and shipped by upstream with release arithmetic; # under this workspace's debug profile its internal activity/restart arithmetic