Quantinuum
portgraph
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat!: Support parametric node and port types everywhere
#284
Merged
Comparing
ab/everything-even-more-generic
(
795f2fe
) with
main
(
39fcf10
)
CodSpeed Performance Gauge
+52%
Improvement
6
Untouched
45
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
51 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
traverse_tree_hierarchy[10000]
benches/benchmarks/hierarchy.rs::criterion_group::TraverseHierarchy::criterion::traverse_tree_hierarchy
CodSpeed Performance Gauge
+52%
822.6 µs
542 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
traverse_tree_hierarchy[1000]
benches/benchmarks/hierarchy.rs::criterion_group::TraverseHierarchy::criterion::traverse_tree_hierarchy
CodSpeed Performance Gauge
+48%
86.4 µs
58.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
traverse_tree_hierarchy[100]
benches/benchmarks/hierarchy.rs::criterion_group::TraverseHierarchy::criterion::traverse_tree_hierarchy
CodSpeed Performance Gauge
+33%
11.6 µs
8.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
initialize_tree_hierarchy[10000]
benches/benchmarks/hierarchy.rs::criterion_group::CreateHierarchy::criterion::initialize_tree_hierarchy
CodSpeed Performance Gauge
+24%
1,229.2 µs
992.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
initialize_tree_hierarchy[1000]
benches/benchmarks/hierarchy.rs::criterion_group::CreateHierarchy::criterion::initialize_tree_hierarchy
CodSpeed Performance Gauge
+23%
125 µs
101.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
initialize_tree_hierarchy[100]
benches/benchmarks/hierarchy.rs::criterion_group::CreateHierarchy::criterion::initialize_tree_hierarchy
CodSpeed Performance Gauge
+20%
15.2 µs
12.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_full_TopoConvexChecker<PortGraph>[100]
benches/benchmarks/convex.rs::criterion_group::ConvexFullTopo::criterion::check_convexity_full_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+6%
49.2 µs
46.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_full_TopoConvexChecker<PortGraph>[1000]
benches/benchmarks/convex.rs::criterion_group::ConvexFullTopo::criterion::check_convexity_full_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+6%
487.2 µs
460.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_sparse_TopoConvexChecker<PortGraph>[100]
benches/benchmarks/convex.rs::criterion_group::ConvexSparseTopo::criterion::check_convexity_sparse_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+5%
7.6 µs
7.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_full_TopoConvexChecker<PortGraph>[10000]
benches/benchmarks/convex.rs::criterion_group::ConvexFullTopo::criterion::check_convexity_full_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+5%
5.7 ms
5.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_fixed_size_TopoConvexChecker<PortGraph>[100]
benches/benchmarks/convex.rs::criterion_group::ConvexFixedSizeTopo::criterion::check_convexity_fixed_size_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+5%
10.7 µs
10.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_fixed_size_TopoConvexChecker<PortGraph>[10000]
benches/benchmarks/convex.rs::criterion_group::ConvexFixedSizeTopo::criterion::check_convexity_fixed_size_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+5%
12.4 µs
11.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_fixed_size_TopoConvexChecker<PortGraph>[1000]
benches/benchmarks/convex.rs::criterion_group::ConvexFixedSizeTopo::criterion::check_convexity_fixed_size_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+4%
11.3 µs
10.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_sparse_TopoConvexChecker<PortGraph>[1000]
benches/benchmarks/convex.rs::criterion_group::ConvexSparseTopo::criterion::check_convexity_sparse_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+4%
15.6 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_sparse_TopoConvexChecker<PortGraph>[10000]
benches/benchmarks/convex.rs::criterion_group::ConvexSparseTopo::criterion::check_convexity_sparse_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+4%
42.5 µs
40.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
initialize_convexity_TopoConvexChecker<PortGraph>[10000]
benches/benchmarks/convex.rs::criterion_group::ConvexConstructionTopo::criterion::initialize_convexity_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+3%
10.4 ms
10.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
initialize_convexity_TopoConvexChecker<PortGraph>[1000]
benches/benchmarks/convex.rs::criterion_group::ConvexConstructionTopo::criterion::initialize_convexity_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+3%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
initialize_convexity_TopoConvexChecker<PortGraph>[100]
benches/benchmarks/convex.rs::criterion_group::ConvexConstructionTopo::criterion::initialize_convexity_TopoConvexChecker<PortGraph>
CodSpeed Performance Gauge
+3%
114.9 µs
111.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
render_mermaid[100]
benches/benchmarks/render.rs::criterion_group::RenderMermaid::criterion::render_mermaid
CodSpeed Performance Gauge
+1%
518.4 µs
511.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
render_mermaid[1000]
benches/benchmarks/render.rs::criterion_group::RenderMermaid::criterion::render_mermaid
CodSpeed Performance Gauge
+1%
5.5 ms
5.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
render_mermaid[10000]
benches/benchmarks/render.rs::criterion_group::RenderMermaid::criterion::render_mermaid
CodSpeed Performance Gauge
+1%
55.9 ms
55.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_fixed_size_LineConvexChecker<PortGraph>[100]
benches/benchmarks/convex.rs::criterion_group::ConvexFixedSizeLine::criterion::check_convexity_fixed_size_LineConvexChecker<PortGraph>
CodSpeed Performance Gauge
+1%
5.7 µs
5.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
clone_line_graph[100]
benches/benchmarks/portgraph.rs::criterion_group::ClonePortgraph::criterion::clone_line_graph
CodSpeed Performance Gauge
+1%
9.3 µs
9.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
check_convexity_fixed_size_LineConvexChecker<PortGraph>[1000]
benches/benchmarks/convex.rs::criterion_group::ConvexFixedSizeLine::criterion::check_convexity_fixed_size_LineConvexChecker<PortGraph>
CodSpeed Performance Gauge
+1%
7.5 µs
7.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
initialize_convexity_LineConvexChecker<PortGraph>[100]
benches/benchmarks/convex.rs::criterion_group::ConvexConstructionLine::criterion::initialize_convexity_LineConvexChecker<PortGraph>
CodSpeed Performance Gauge
+1%
223.2 µs
221.6 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
39fcf10
+51.78%
Make IndexBase a sealed trait
856b980
11 days ago
by aborgna-q
0%
Remove redundant parameter for `NodeFiltered`
224bd98
8 days ago
by aborgna-q
0%
Add default param to HasBoundary
60a0edb
8 days ago
by aborgna-q
0%
Make the petgraph impl generic too
795f2fe
8 days ago
by aborgna-q
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs