Avatar for the CQCL user
CQCL
hugr
BlogDocsChangelog

chore!: hugr-rs v0.16.0 release

#2083
Comparing
release-rs-v0.16.0
(
5b43c0d
) with
main
(
54c2e9c
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
21
New
0
Dropped
0
Ignored
7

Benchmarks

Passed

circuit_serialize/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[100]
CodSpeed Performance Gauge
+1%
3.7 ms
3.7 ms
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1000]
CodSpeed Performance Gauge
+1%
34.7 ms
34.5 ms
circuit_roundtrip/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[10]
CodSpeed Performance Gauge
+1%
1.4 ms
1.4 ms
fewnode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[1000]
CodSpeed Performance Gauge
0%
4.7 ms
4.7 ms
simple_cfg_serialize/json
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::simple_cfg_serialize/json
CodSpeed Performance Gauge
0%
229.9 µs
229.8 µs
circuit_serialize/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[10]
CodSpeed Performance Gauge
0%
406.7 µs
406.7 µs
simple_cfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_cfg
CodSpeed Performance Gauge
0%
178.8 µs
178.8 µs
circuit_roundtrip/capnp[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[100]
CodSpeed Performance Gauge
0%
5.9 ms
5.9 ms
multinode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[1000]
CodSpeed Performance Gauge
0%
13.2 ms
13.2 ms
circuit_roundtrip/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1000]
CodSpeed Performance Gauge
0%
136.7 ms
136.8 ms
fewnode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[100]
CodSpeed Performance Gauge
0%
540.1 µs
540.4 µs
circuit_roundtrip/capnp[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[1000]
CodSpeed Performance Gauge
0%
57.5 ms
57.5 ms
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[100]
CodSpeed Performance Gauge
0%
941.3 µs
942.5 µs
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1]
CodSpeed Performance Gauge
0%
268.3 µs
268.7 µs
simple_dfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_dfg
CodSpeed Performance Gauge
0%
50.6 µs
50.8 µs
circuit_roundtrip/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[100]
CodSpeed Performance Gauge
-1%
12.8 ms
12.9 ms
construction
hugr/benches/benchmarks/types.rs::benches::bench_construction::types::construction
CodSpeed Performance Gauge
-1%
17.8 µs
17.9 µs
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[10]
CodSpeed Performance Gauge
-1%
120.2 µs
121.1 µs
fewnode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[10]
CodSpeed Performance Gauge
-1%
123.4 µs
124.5 µs
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1]
CodSpeed Performance Gauge
-1%
86.4 µs
87.5 µs
circuit_serialize/json[0]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[0]
CodSpeed Performance Gauge
-8%
36.9 µs
40.2 µs

Ignored

circuit_roundtrip/capnp[0]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[0]
CodSpeed Performance Gauge
+1%
109.6 µs
108.4 µs
circuit_roundtrip/capnp[10]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[10]
CodSpeed Performance Gauge
0%
696.5 µs
693.9 µs
circuit_roundtrip/capnp[1]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[1]
CodSpeed Performance Gauge
0%
222.3 µs
221.3 µs
circuit_roundtrip/json[0]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[0]
CodSpeed Performance Gauge
0%
108.1 µs
108.4 µs
singleton_subgraph[1000]Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[1000]
CodSpeed Performance Gauge
-2%
24.2 µs
24.7 µs
singleton_subgraph[100]Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[100]
CodSpeed Performance Gauge
-1%
24.2 µs
24.5 µs
singleton_subgraph[10]Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[10]
CodSpeed Performance Gauge
-2%
24.2 µs
24.6 µs

Commits

Click on a commit to change the comparison range
Base
main
54c2e9c
0%
ci: Run ci checks on PRs to any branch
4db3f5d
4 days ago
by aborgna-q
0%
feat!: Allow generic Nodes in HugrMut insert operations (#2075) `insert_hugr`, `insert_from_view`, and `insert_subgraph` were written before we made `Node` a type generic, and incorrectly assumed the return type maps were always `hugr::Node`s. The methods were either unusable or incorrect when using generic `HugrView`s source/targets with non-base node types. This PR fixes that, and additionally allows us us to have `SiblingSubgraph::extract_subgraph` work for generic `HugrViews`. BREAKING CHANGE: Added Node type parameters to extraction operations in `HugrMut`.
81447ec
4 days ago
by aborgna-q
0%
fix!: Don't expose `HugrMutInternals` (#2071) `HugrMutInternals` is part of the semi-private traits defined in `hugr-core`. While most things get re-exported in `hugr`, we `*Internal` traits require you to explicitly declare a dependency on the `-core` package (as we don't want most users to have to interact with them). For some reason there was a public re-export of the trait in a re-exported module, so it ended up appearing in `hugr` anyways. BREAKING CHANGE: Removed public re-export of `HugrMutInternals` from `hugr`.
ef1cba0
4 days ago
by aborgna-q
0%
feat!: Mark all Error enums as non_exhaustive (#2056) #2027 ended up being breaking due to adding a new variant to an error enum missing the `non_exhaustive` marker. This (breaking) PR makes sure all error enums have the flag. BREAKING CHANGE: Marked all Error enums as `non_exhaustive`
fac6c8b
4 days ago
by aborgna-q
0%
feat!: Handle CallIndirect in Dataflow Analysis (#2059) * PartialValue now has a LoadedFunction variant, created by LoadFunction nodes (only, although other analyses are able to create PartialValues if they want) * This requires adding a type parameter to PartialValue for the type of Node, which gets everywhere :-(. * Use this to handle CallIndirects *with known targets* (it'll be a single known target or none at all) just like other Calls to the same function * deprecate (and ignore) `value_from_function` * Add a new trait `AsConcrete` for the result type of `PartialValue::try_into_concrete` and `PartialSum::try_into_sum` Note almost no change to constant folding (only to drop impl of `value_from_function`) BREAKING CHANGE: in dataflow framework, PartialValue now has additional variant; `try_into_concrete` requires the target type to implement AsConcrete.
baaca02
3 days ago
by acl-cqc
0%
Merge branch 'main' into release-rs-v0.16.0
195f30c
3 days ago
by aborgna-q
0%
feat: Make NodeHandle generic (#2092) Adds a generic node type to the `NodeHandle` type. This is a required change for #2029. drive-by: Implement the "Link the NodeHandles to the OpType" TODO
6347756
3 days ago
by aborgna-q
0%
feat!: remove ExtensionValue (#2093) Closes #1595 BREAKING CHANGE: `values` field in `Extension` and `ExtensionValue` struct/class removed in rust and python. Use 0-input ops that return constant values.
5b43c0d
2 days ago
by ss2165
© 2025 CodSpeed Technology
Home Terms PrivacyDocs