Avatar for the Quantinuum user
Quantinuum
hugr
BlogDocsChangelog

fix: Panic on constant folding with opaque consts

#2986Merged
Comparing
ab/fix-constfold-float
(
e1e2ac9
) with
main
(
8d8d04e
)
CodSpeed Performance Gauge
0%
Untouched
29
Ignored
7
Skipped
6

Benchmarks

42 total
big_hugr_roundtrip/capnp[1048576]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
+3%
12.3 ms11.9 ms
circuit_serialize/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+3%
362.6 µs351.9 µs
circuit_serialize/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+2%
3 ms3 ms
circuit_roundtrip/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+1%
19.7 ms19.6 ms
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
409.5 µs408.8 µs
circuit_roundtrip/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
205.6 ms205.4 ms
circuit_roundtrip/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
big_hugr_roundtrip/capnp[1024]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
0%
1 ms1 ms
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
fewnode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph
CodSpeed Performance Gauge
0%
617.6 µs617.2 µs
circuit_roundtrip/capnp[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
75.1 ms75.1 ms
multinode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
0%
14.4 ms14.4 ms
circuit_roundtrip/capnp[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
8.4 ms8.4 ms
big_hugr_roundtrip/json[1048576]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
0%
51.6 ms51.6 ms
fewnode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph
CodSpeed Performance Gauge
0%
5.4 ms5.4 ms
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
0%
136.2 µs136.3 µs
simple_cfg_serialize/json
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
388.9 µs389.9 µs
insert_hugr
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
0%
54.9 µs55.1 µs
construction
hugr/benches/benchmarks/types.rs::benches::bench_construction::types
CodSpeed Performance Gauge
0%
11.8 µs11.8 µs
big_hugr_roundtrip/json[1024]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
0%
179.4 µs180 µs
fewnode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph
CodSpeed Performance Gauge
0%
137.8 µs138.3 µs
insert_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
0%
49 µs49.2 µs
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
83.7 µs84.1 µs
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
30.5 ms30.7 ms
insert_from_view
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
-1%
42.3 µs42.5 µs

Commits

Click on a commit to change the comparison range
Base
main
8d8d04e
-0.1%
fix: Panic on constant folding floats with opaque consts
b525f2b
5 days ago
by aborgna-q
-0.28%
ListOp fixes
92c65a1
5 days ago
by aborgna-q
+0.35%
fmt
e1e2ac9
5 days ago
by aborgna-q
© 2026 CodSpeed Technology
Home Terms Privacy Docs