Avatar for the Quantinuum user
Quantinuum
hugr
BlogDocsChangelog

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

#2895
Comparing
acl/type_wraps_term
(
80f1934
) with
main
(
7881c99
)
CodSpeed Performance Gauge
-41%
Regression
1
Untouched
28
Ignored
7
Skipped
6

Benchmarks

42 total
construction
hugr/benches/benchmarks/types.rs::benches::bench_construction::types
CodSpeed Performance Gauge
-41%
12 µs20.4 µs
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+2%
30.2 ms29.7 ms
circuit_serialize/json[0]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+1%
40.1 µs39.5 µs
circuit_serialize/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+1%
359.1 µs356.6 µs
simple_dfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder
CodSpeed Performance Gauge
0%
59.8 µs59.6 µs
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
83.5 µs83.3 µs
big_hugr_roundtrip/capnp[1048576]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
0%
11.9 ms11.9 ms
big_hugr_roundtrip/capnp[1024]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
0%
1 ms1 ms
insert_hugr
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
-1%
54.3 µs54.6 µs
big_hugr_roundtrip/json[1048576]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
-1%
51.3 ms51.6 ms
circuit_roundtrip/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
-1%
205.2 ms206.7 ms
circuit_roundtrip/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
-1%
19.6 ms19.8 ms
circuit_serialize/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
-1%
3 ms3 ms
insert_from_view
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
-1%
41.8 µs42.1 µs
circuit_roundtrip/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
-1%
2.2 ms2.2 ms
big_hugr_roundtrip/json[1024]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
-1%
178 µs179.8 µs
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
-1%
407.3 µs411.9 µs
simple_cfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder
CodSpeed Performance Gauge
-1%
170.3 µs172.6 µs
insert_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
-2%
48.4 µs49.2 µs
fewnode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph
CodSpeed Performance Gauge
-2%
137.1 µs140.5 µs
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
-3%
135 µs138.6 µs
multinode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
-3%
14.2 ms14.6 ms
simple_cfg_serialize/json
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
-3%
388.9 µs400.2 µs
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
-4%
1.1 ms1.1 ms
insert_view_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
-4%
42.9 µs44.7 µs

Commits

Click on a commit to change the comparison range
Base
main
7881c99
-47.48%
clippy+benchmarks
af2a6f9
2 months ago
by acl-cqc
-0.07%
update hugr-llvm snapshots
8805064
2 months ago
by acl-cqc
-0.14%
update snapshots more
b996510
2 months ago
by acl-cqc
+0.07%
Remove TypeRV (use Term)
4f7be66
2 months ago
by acl-cqc
+5.16%
Make TypeRowRV a struct (the only panicking new); rm GeneralSum, SerTypeRowRV
0ac2b53
2 months ago
by acl-cqc
-2.81%
docs
c563bde
2 months ago
by acl-cqc
+0.23%
comment re. Type::validate
cfed69d
2 months ago
by acl-cqc
+4.67%
Merge branch 'acl/no_1type_row' into acl/type_wraps_term
16b4c5e
1 month ago
by acl-cqc
-0.17%
Fix json-encoding of type variables (showed only in extension defs)
34cb99d
1 month ago
by acl-cqc
+0.35%
TypeRowRV::new() is const no-args; use try_from, but use safe ctors more
2962d96
1 month ago
by acl-cqc
-1.12%
Merge remote-tracking branch 'origin/main' into acl/type_wraps_term
c0badc6
17 days ago
by acl-cqc
+6.32%
reduce change to benchmark
83d9bde
17 days ago
by acl-cqc
+0.1%
Try "optimizing"(?) import_signature not to import_func_type
77a74c5
17 days ago
by acl-cqc
-1.03%
Rename Substitutable -> TypeRowLike, move into type_row.rs
e44bae7
13 days ago
by acl-cqc
-0.36%
drop From<SumType/CustomType> for Term
2697658
13 days ago
by acl-cqc
+1.36%
TypeRowRV::just_row_var=>new_var_use
ca3aa2f
11 days ago
by acl-cqc
-5.7%
FromIterator for both TypeRowRV and TypeRow
3a41dda
10 days ago
by acl-cqc
-0.35%
remove another ALAN
4646a1a
10 days ago
by acl-cqc
-0.39%
comment out get_alias_type and friends
80f1934
10 days ago
by acl-cqc
© 2026 CodSpeed Technology
Home Terms Privacy Docs