Quantinuum
hugr
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf!: remove bound-caching from Type, do in SumType::General instead
#3022
Comparing
acl/boundless_type
(
4ceb59e
) with
acl/type_wraps_term
(
80f1934
)
CodSpeed Performance Gauge
+20%
Improvement
1
Untouched
28
Ignored
7
Skipped
6
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
Skipped
42 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
construction
hugr/benches/benchmarks/types.rs::benches::bench_construction::types
CodSpeed Performance Gauge
+20%
20.4 µs
17.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
insert_view_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
+6%
44.7 µs
42.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
big_hugr_roundtrip/capnp[1048576]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
+4%
11.9 ms
11.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_roundtrip/capnp[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+2%
82.8 ms
81.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_roundtrip/capnp[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+2%
9.3 ms
9.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_roundtrip/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+2%
19.8 ms
19.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_serialize/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+2%
83.3 µs
82 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_roundtrip/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+2%
206.7 ms
203.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_roundtrip/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+1%
2.2 ms
2.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
insert_hugr
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
+1%
54.6 µs
54 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
insert_from_view
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
+1%
42.1 µs
41.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_serialize/json[100]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+1%
3 ms
3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_roundtrip/json[1]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
+1%
411.9 µs
409.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_serialize/json[0]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
39.5 µs
39.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
insert_forest
hugr/benches/benchmarks/hugr.rs::benches::bench_insertion::insertion
CodSpeed Performance Gauge
0%
49.2 µs
49 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
simple_cfg_serialize/json
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
400.2 µs
398.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_serialize/json[1000]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
29.7 ms
29.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
circuit_serialize/json[10]
hugr/benches/benchmarks/hugr.rs::benches::bench_serialization
CodSpeed Performance Gauge
0%
356.6 µs
355.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
big_hugr_roundtrip/capnp[1024]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
0%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
big_hugr_roundtrip/json[1024]
hugr/benches/benchmarks/hugr.rs::benches::bench_big_hugr_serialization
CodSpeed Performance Gauge
0%
179.8 µs
179.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
multinode_subgraph[1000]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
0%
14.6 ms
14.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
multinode_subgraph[100]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
simple_cfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder
CodSpeed Performance Gauge
0%
172.6 µs
172.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
simple_dfg
hugr/benches/benchmarks/hugr.rs::benches::bench_builder::builder
CodSpeed Performance Gauge
0%
59.6 µs
59.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
multinode_subgraph[10]
hugr/benches/benchmarks/subgraph.rs::benches::bench_multinode_subgraph
CodSpeed Performance Gauge
0%
138.6 µs
139 µs
1
2
Commits
Click on a commit to change the comparison range
Base
acl/type_wraps_term
80f1934
-30.66%
Don't cache bound in Type
168c385
10 days ago
by acl-cqc
+48.32%
clippy
1f97a4d
10 days ago
by acl-cqc
+1.93%
update hugr-llvm snapshots
4ceb59e
10 days ago
by acl-cqc
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs