Avatar for the Quantinuum user
Quantinuum
hugr
BlogDocsChangelog

feat: Add a `NodeTemplate::call_to_function` helper

#2878Merged
Comparing
ab/linked_hugr-from-call
(
4979215
) with
main
(
cc549fc
)
CodSpeed Performance Gauge
0%
Untouched
28
Ignored
7

Benchmarks

35 total
insert_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
+2%
51.3 µs50.4 µs
circuit_roundtrip/capnp[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+1%
8.4 ms8.3 ms
insert_hugr
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
+1%
58.2 µs57.7 µs
circuit_roundtrip/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+1%
19.6 ms19.4 ms
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
393.3 µs391.5 µs
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
80.3 µs80 µs
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
0%
136.3 µs135.8 µs
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
29.5 ms29.4 ms
circuit_roundtrip/capnp[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
75.1 ms74.9 ms
circuit_serialize/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
2.9 ms2.9 ms
insert_from_view
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
0%
42.3 µs42.2 µs
hash_simple[1000]
hugr/benches/benchmarks/hash.rs::benches::bench_hash_simple::hash a simple circuit
CodSpeed Performance Gauge
0%
13 ms13 ms
hash_simple[10]
hugr/benches/benchmarks/hash.rs::benches::bench_hash_simple::hash a simple circuit
CodSpeed Performance Gauge
0%
155.4 µs155.3 µs
hash_simple[100]
hugr/benches/benchmarks/hash.rs::benches::bench_hash_simple::hash a simple circuit
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
simple_cfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder
CodSpeed Performance Gauge
0%
161.9 µs161.8 µs
circuit_roundtrip/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
204.6 ms204.5 ms
simple_dfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder
CodSpeed Performance Gauge
0%
58.8 µs58.8 µs
fewnode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph
CodSpeed Performance Gauge
0%
5.4 ms5.4 ms
circuit_serialize/json[0]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
38 µs38 µs
multinode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
0%
14.3 ms14.3 ms
circuit_roundtrip/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
2.1 ms2.1 ms
simple_cfg_serialize/json
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
376.4 µs377.6 µs
construction
hugr/benches/benchmarks/types.rs::benches::bench_construction::types
CodSpeed Performance Gauge
0%
16.9 µs17 µs
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
insert_view_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
-1%
44.7 µs45 µs

Commits

Click on a commit to change the comparison range
Base
main
cc549fc
-0.04%
feat: Add a `NodeTemplate::call_to_function` helper
4979215
2 days ago
by aborgna-q
© 2026 CodSpeed Technology
Home Terms Privacy Docs