Avatar for the Quantinuum user
Quantinuum
hugr
BlogDocsChangelog

refactor(hugrv2)!: combine TypeEnum with Term, no RV parametrization

#2895
Comparing
acl/type_wraps_term
(
2962d96
) with
main
(
86b654b
)
CodSpeed Performance Gauge
-40%
Regression
3
Untouched
29
Ignored
7
Skipped
3

Benchmarks

42 total
construction
hugr/benches/benchmarks/types.rs::benches::bench_construction::types
CodSpeed Performance Gauge
-40%
12 µs20 µs
circuit_roundtrip/capnp[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
-16%
74 ms88.5 ms
circuit_roundtrip/capnp[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
-13%
8.4 ms9.7 ms
fewnode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph
CodSpeed Performance Gauge
+7%
5.7 ms5.3 ms
fewnode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph
CodSpeed Performance Gauge
+6%
649.7 µs612.9 µs
insert_view_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
+4%
44.5 µs42.8 µs
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
+4%
140.7 µs135.6 µs
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
+4%
1.1 ms1.1 ms
multinode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
+3%
14.7 ms14.3 ms
circuit_serialize/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+2%
3.1 ms3 ms
fewnode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph
CodSpeed Performance Gauge
+2%
141.5 µs138.6 µs
insert_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
+2%
49.5 µs48.7 µs
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+1%
30.1 ms29.9 ms
insert_from_view
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
+1%
42.1 µs41.8 µs
big_hugr_roundtrip/json[1048576]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
0%
51.6 ms51.4 ms
big_hugr_roundtrip/json[1024]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
0%
179.5 µs179 µs
simple_dfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder
CodSpeed Performance Gauge
0%
60.3 µs60.2 µs
circuit_serialize/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
349.3 µs348.6 µs
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
83.6 µs83.5 µs
hash_simple[100]
hugr-passes/benches/benchmarks/hash.rs::benches::bench_hash_simple::hash a simple circuit
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
hash_simple[10]
hugr-passes/benches/benchmarks/hash.rs::benches::bench_hash_simple::hash a simple circuit
CodSpeed Performance Gauge
0%
152.3 µs153 µs
insert_hugr
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
-1%
55.1 µs55.4 µs
hash_simple[1000]
hugr-passes/benches/benchmarks/hash.rs::benches::bench_hash_simple::hash a simple circuit
CodSpeed Performance Gauge
-1%
12.7 ms12.8 ms
big_hugr_roundtrip/capnp[1024]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
-1%
1 ms1 ms
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
-1%
408.6 µs411.8 µs

Commits

Click on a commit to change the comparison range
Base
main
86b654b
-47.48%
clippy+benchmarks
af2a6f9
26 days ago
by acl-cqc
-0.07%
update hugr-llvm snapshots
8805064
26 days ago
by acl-cqc
-0.14%
update snapshots more
b996510
26 days ago
by acl-cqc
+0.07%
Remove TypeRV (use Term)
4f7be66
26 days ago
by acl-cqc
+5.16%
Make TypeRowRV a struct (the only panicking new); rm GeneralSum, SerTypeRowRV
0ac2b53
26 days ago
by acl-cqc
-2.81%
docs
c563bde
26 days ago
by acl-cqc
+0.23%
comment re. Type::validate
cfed69d
25 days ago
by acl-cqc
+4.67%
Merge branch 'acl/no_1type_row' into acl/type_wraps_term
16b4c5e
10 days ago
by acl-cqc
-0.17%
Fix json-encoding of type variables (showed only in extension defs)
34cb99d
10 days ago
by acl-cqc
+0.35%
TypeRowRV::new() is const no-args; use try_from, but use safe ctors more
2962d96
10 days ago
by acl-cqc
© 2026 CodSpeed Technology
Home Terms Privacy Docs