Avatar for the CQCL user
CQCL
hugr
BlogDocsChangelog

chore!: hugr-rs v0.20.0 release

#2083Merged
Comparing
release-rs-v0.16.0
(
9cd24ff
) with
main
(
3bbea4d
)
CodSpeed Performance Gauge
+20%
Improvements
5
Regressions
0
Untouched
16
New
0
Dropped
0
Ignored
7

Benchmarks

Improved

simple_cfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_cfg
CodSpeed Performance Gauge
+20%
178.3 µs
148 µs
simple_dfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_dfg
CodSpeed Performance Gauge
+19%
50.3 µs
42.3 µs
circuit_serialize/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[100]
CodSpeed Performance Gauge
+17%
3.7 ms
3.2 ms
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1000]
CodSpeed Performance Gauge
+13%
34.6 ms
30.6 ms
circuit_roundtrip/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1000]
CodSpeed Performance Gauge
+10%
136.3 ms
123.7 ms

Passed

circuit_serialize/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[10]
CodSpeed Performance Gauge
+10%
406.1 µs
369.3 µs
circuit_roundtrip/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[10]
CodSpeed Performance Gauge
+10%
1.4 ms
1.3 ms
circuit_roundtrip/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[100]
CodSpeed Performance Gauge
+9%
12.8 ms
11.7 ms
circuit_serialize/json[0]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[0]
CodSpeed Performance Gauge
+9%
37 µs
33.8 µs
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1]
CodSpeed Performance Gauge
+9%
86.6 µs
79.3 µs
circuit_roundtrip/capnp[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[1000]
CodSpeed Performance Gauge
+8%
57.6 ms
53.2 ms
circuit_roundtrip/capnp[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[100]
CodSpeed Performance Gauge
+8%
5.9 ms
5.5 ms
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1]
CodSpeed Performance Gauge
+8%
268.3 µs
248.9 µs
simple_cfg_serialize/json
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::simple_cfg_serialize/json
CodSpeed Performance Gauge
+3%
229.5 µs
222.3 µs
fewnode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[1000]
CodSpeed Performance Gauge
+2%
4.7 ms
4.6 ms
fewnode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[100]
CodSpeed Performance Gauge
+2%
540.5 µs
531.2 µs
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[10]
CodSpeed Performance Gauge
+1%
120.6 µs
119 µs
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[100]
CodSpeed Performance Gauge
+1%
940.8 µs
930.2 µs
multinode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[1000]
CodSpeed Performance Gauge
+1%
13.2 ms
13.1 ms
fewnode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[10]
CodSpeed Performance Gauge
+1%
123.8 µs
122.9 µs
construction
hugr/benches/benchmarks/types.rs::benches::bench_construction::types::construction
CodSpeed Performance Gauge
0%
17.5 µs
17.4 µs

Ignored

circuit_roundtrip/capnp[0]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[0]
CodSpeed Performance Gauge
+2%
109.2 µs
106.6 µs
circuit_roundtrip/capnp[10]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[10]
CodSpeed Performance Gauge
+7%
697 µs
649.9 µs
circuit_roundtrip/capnp[1]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[1]
CodSpeed Performance Gauge
+3%
221.7 µs
215.5 µs
circuit_roundtrip/json[0]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[0]
CodSpeed Performance Gauge
+8%
108 µs
100.3 µs
singleton_subgraph[1000]Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[1000]
CodSpeed Performance Gauge
0%
24.2 µs
24.2 µ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.1 µs
singleton_subgraph[10]Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[10]
CodSpeed Performance Gauge
0%
24.3 µs
24.2 µs

Commits

Click on a commit to change the comparison range
Base
main
3bbea4d
+20%
feat!: Make `NamedOp` private. Add `MakeExtensionOp::name` and `MakeOpDef::opdef_name` (#2138) BREAKING CHANGE: `NamedOp` is no longer public. Use `OpType`'s `Display` impl for a short string describing the OpType. BREAKING CHANGE: New required trait method `opdef_name` on `MakeOpDef` BREAKING CHANGE: New required trait method `name` on `MakeExtensionOp`
9cd24ff
2 months ago
by doug-q
© 2025 CodSpeed Technology
Home Terms Privacy Docs