CQCL
hugr
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat!: Add NodeType trait as hugr base trait
#2541
Closed
Comparing
lm/add-node-trait
(
2916fea
) with
main
(
4c0a178
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
25
New
0
Dropped
0
Ignored
7
Benchmarks
Passed
insert_view_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion::insert_view_forest
CodSpeed Performance Gauge
+3%
44.5 µs
43.2 µs
insert_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion::insert_forest
CodSpeed Performance Gauge
+3%
49.6 µs
48.3 µs
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1]
CodSpeed Performance Gauge
+2%
457.1 µs
447.4 µs
insert_hugr
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion::insert_hugr
CodSpeed Performance Gauge
+2%
56.3 µs
55.2 µs
fewnode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[1000]
CodSpeed Performance Gauge
+1%
48.4 µs
47.7 µs
construction
hugr/benches/benchmarks/types.rs::benches::bench_construction::types::construction
CodSpeed Performance Gauge
+1%
17.6 µs
17.5 µs
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[10]
CodSpeed Performance Gauge
0%
134.1 µs
133.6 µs
circuit_roundtrip/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[1000]
CodSpeed Performance Gauge
0%
258.1 ms
257.3 ms
fewnode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[100]
CodSpeed Performance Gauge
0%
48.3 µs
48.1 µs
insert_from_view
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion::insert_from_view
CodSpeed Performance Gauge
0%
42.4 µs
42.3 µs
simple_cfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_cfg
CodSpeed Performance Gauge
0%
161.6 µs
161.5 µs
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
simple_dfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder::simple_dfg
CodSpeed Performance Gauge
0%
55.5 µs
55.5 µs
circuit_roundtrip/capnp[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[1000]
CodSpeed Performance Gauge
0%
76 ms
76 ms
fewnode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_fewnode_subgraph::fewnode_subgraph[10]
CodSpeed Performance Gauge
0%
48.1 µs
48.1 µs
circuit_serialize/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[10]
CodSpeed Performance Gauge
0%
365 µs
365.8 µs
simple_cfg_serialize/json
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::simple_cfg_serialize/json
CodSpeed Performance Gauge
0%
449.4 µs
450.6 µs
multinode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[1000]
CodSpeed Performance Gauge
0%
14 ms
14 ms
circuit_roundtrip/capnp[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/capnp[100]
CodSpeed Performance Gauge
0%
8.5 ms
8.5 ms
circuit_roundtrip/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_roundtrip/json[100]
CodSpeed Performance Gauge
0%
23 ms
23.1 ms
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph::multinode_subgraph[100]
CodSpeed Performance Gauge
-1%
1 ms
1 ms
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1000]
CodSpeed Performance Gauge
-1%
30.1 ms
30.3 ms
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[1]
CodSpeed Performance Gauge
-1%
82.6 µs
83.2 µs
circuit_serialize/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[100]
CodSpeed Performance Gauge
-2%
3 ms
3.1 ms
circuit_serialize/json[0]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization::circuit_serialize/json[0]
CodSpeed Performance Gauge
-7%
38.5 µs
41.2 µ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%
173.3 µs
174.1 µs
singleton_subgraph[1000]
Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[1000]
CodSpeed Performance Gauge
0%
28.3 µs
28.2 µs
singleton_subgraph[100]
Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[100]
CodSpeed Performance Gauge
0%
28.2 µs
28.1 µs
singleton_subgraph[10]
Ignored
hugr/benches/benchmarks/subgraph.rs::benches::bench_singleton_subgraph::singleton_subgraph[10]
CodSpeed Performance Gauge
0%
26.9 µs
26.8 µs
Commits
Click on a commit to change the comparison range
Base
main
4c0a178
+0.04%
feat!: Add NodeType trait as hugr base trait BREAKING CHANGE: The HugrInternals::Node associated type was moved to dedicated type trait NodeType.
2916fea
5 days ago
by lmondada
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs