Avatar for the CQCL user
CQCL
hugr
BlogDocsChangelog

feat: ReplaceTypes allows linearizing inside Op replacements

#2435Merged
Comparing
acl/replace_recursive
(
f93fb61
) with
main
(
d17b245
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
21
New
0
Dropped
0
Ignored
7

Benchmarks

Passed

construction
hugr/benches/benchmarks/types.rs::benches::bench_construction::types::construction
CodSpeed Performance Gauge
0%
17.5 µs
17.4 µs
simple_dfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_dfg
CodSpeed Performance Gauge
0%
54.7 µs
54.7 µs
circuit_roundtrip/capnp[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[100]
CodSpeed Performance Gauge
0%
8.6 ms
8.6 ms
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[100]
CodSpeed Performance Gauge
0%
995.8 µs
995.6 µs
fewnode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[10]
CodSpeed Performance Gauge
0%
129.2 µs
129.2 µs
circuit_roundtrip/capnp[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[1000]
CodSpeed Performance Gauge
0%
76.8 ms
76.8 ms
circuit_roundtrip/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1000]
CodSpeed Performance Gauge
0%
257.7 ms
257.7 ms
fewnode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[100]
CodSpeed Performance Gauge
0%
577.3 µs
577.3 µs
circuit_roundtrip/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[100]
CodSpeed Performance Gauge
0%
23 ms
23 ms
fewnode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[1000]
CodSpeed Performance Gauge
0%
5 ms
5 ms
circuit_roundtrip/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[10]
CodSpeed Performance Gauge
0%
2.5 ms
2.5 ms
circuit_serialize/json[0]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[0]
CodSpeed Performance Gauge
0%
39 µs
39 µs
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1000]
CodSpeed Performance Gauge
0%
30.1 ms
30.1 ms
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1]
CodSpeed Performance Gauge
0%
457 µs
457 µs
circuit_serialize/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[100]
CodSpeed Performance Gauge
0%
3.1 ms
3.1 ms
circuit_serialize/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[10]
CodSpeed Performance Gauge
0%
352.5 µs
352.5 µs
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1]
CodSpeed Performance Gauge
0%
83 µs
83 µs
simple_cfg_serialize/json
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::simple_cfg_serialize/json
CodSpeed Performance Gauge
0%
447.4 µs
447.5 µs
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[10]
CodSpeed Performance Gauge
0%
126.1 µs
126.2 µs
multinode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[1000]
CodSpeed Performance Gauge
0%
13.7 ms
13.7 ms
simple_cfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_cfg
CodSpeed Performance Gauge
0%
158.7 µs
158.7 µs

Ignored

circuit_roundtrip/capnp[0]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[0]
CodSpeed Performance Gauge
0%
1 ms
1 ms
circuit_roundtrip/capnp[10]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[10]
CodSpeed Performance Gauge
0%
1.8 ms
1.8 ms
circuit_roundtrip/capnp[1]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[1]
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
circuit_roundtrip/json[0]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[0]
CodSpeed Performance Gauge
0%
174.8 µs
174.9 µs
singleton_subgraph[1000]Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[1000]
CodSpeed Performance Gauge
0%
5 ms
5 ms
singleton_subgraph[100]Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[100]
CodSpeed Performance Gauge
0%
530.8 µs
530.8 µs
singleton_subgraph[10]Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[10]
CodSpeed Performance Gauge
0%
84.4 µs
84.3 µs

Commits

Click on a commit to change the comparison range
Base
main
d17b245
0%
ReplacementOptions, replace_(parametrized_)op_with, break out linearize_outputs
af53713
8 days ago
by acl-cqc
0%
Merge remote-tracking branch 'origin/main' into acl/replace_recursive
d29291f
8 days ago
by acl-cqc
0%
doc note
5f53767
4 days ago
by acl-cqc
0%
remove replace_recursive, undo change_subtree
f93fb61
3 days ago
by acl-cqc
© 2025 CodSpeed Technology
Home Terms Privacy Docs