Avatar for the CQCL user
CQCL
hugr
BlogDocsChangelog

feat: Introduce new enum for constant folding; deprecate Value::Function

#2060
Comparing
acl/foldval2
(
9474c8b
) with
acl/insert_hugr_defns
(
81b0f4c
)
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
+1%
17.6 µs
17.4 µs
circuit_roundtrip/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[100]
CodSpeed Performance Gauge
+1%
23 ms
22.8 ms
circuit_roundtrip/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[10]
CodSpeed Performance Gauge
+1%
2.5 ms
2.5 ms
circuit_roundtrip/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1000]
CodSpeed Performance Gauge
+1%
258.5 ms
256.5 ms
circuit_serialize/json[0]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[0]
CodSpeed Performance Gauge
+1%
39.4 µs
39.1 µs
simple_cfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_cfg
CodSpeed Performance Gauge
+1%
161.8 µs
160.8 µs
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1]
CodSpeed Performance Gauge
+1%
455.1 µs
452.6 µs
simple_dfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_dfg
CodSpeed Performance Gauge
0%
56.3 µs
56.1 µs
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1]
CodSpeed Performance Gauge
0%
83.5 µs
83.2 µs
simple_cfg_serialize/json
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::simple_cfg_serialize/json
CodSpeed Performance Gauge
0%
445.9 µs
444.7 µs
circuit_serialize/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[10]
CodSpeed Performance Gauge
0%
351.7 µs
350.9 µs
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1000]
CodSpeed Performance Gauge
0%
30.3 ms
30.2 ms
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
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
fewnode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[1000]
CodSpeed Performance Gauge
0%
5 ms
5 ms
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[100]
CodSpeed Performance Gauge
0%
1 ms
1 ms
circuit_roundtrip/capnp[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[100]
CodSpeed Performance Gauge
0%
7 ms
7 ms
circuit_roundtrip/capnp[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[1000]
CodSpeed Performance Gauge
0%
60.9 ms
60.9 ms
fewnode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[100]
CodSpeed Performance Gauge
0%
577 µs
577.5 µs
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[10]
CodSpeed Performance Gauge
0%
125.8 µs
126.1 µs
fewnode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[10]
CodSpeed Performance Gauge
0%
128.2 µs
128.5 µs

Ignored

circuit_roundtrip/capnp[0]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[0]
CodSpeed Performance Gauge
0%
995.1 µs
993.9 µs
circuit_roundtrip/capnp[10]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[10]
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
circuit_roundtrip/capnp[1]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[1]
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
circuit_roundtrip/json[0]Ignored
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[0]
CodSpeed Performance Gauge
0%
172.5 µs
171.7 µ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%
532.5 µs
532.7 µs
singleton_subgraph[10]Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[10]
CodSpeed Performance Gauge
0%
83.9 µs
84 µs

Commits

Click on a commit to change the comparison range
Base
acl/insert_hugr_defns
81b0f4c
0%
3*Value::function
80fddb7
1 month ago
by acl-cqc
0%
allow deprecated in hugr-llvm
d5d9564
1 month ago
by acl-cqc
0%
hugr-llvm: allow more deprecation in inline_constant_functions
87d3497
1 month ago
by acl-cqc
0%
docs
405927d
1 month ago
by acl-cqc
0%
constant_fold2 -> const_fold
24db393
1 month ago
by acl-cqc
0%
List ops (but no lists of function pointers), Noop
fe56b4d
1 month ago
by acl-cqc
0%
clippy logic.rs
9474c8b
1 month ago
by acl-cqc
© 2025 CodSpeed Technology
Home Terms Privacy Docs