Skip to content

feat: (WIP) add metadata and guppy kwarg for inline="always"#1513

Draft
acl-cqc wants to merge 3 commits intomainfrom
acl/inline_metadata
Draft

feat: (WIP) add metadata and guppy kwarg for inline="always"#1513
acl-cqc wants to merge 3 commits intomainfrom
acl/inline_metadata

Conversation

@acl-cqc
Copy link
Contributor

@acl-cqc acl-cqc commented Feb 18, 2026

  • We should migrate to the new hugr typed metadata; this might be a good opportunity
  • tket2 change to use the metadata not done yet and may be more controversial, so should probably be merged first

closes #1054

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

🐰 Bencher Report

Branchacl/inline_metadata
TestbedLinux
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
microseconds (µs)
(Result Δ%)
Upper Boundary
microseconds (µs)
(Limit %)
tests/benchmarks/test_big_array.py::test_big_array_check📈 view plot
🚷 view threshold
686,989.64 µs
(-3.41%)Baseline: 711,237.33 µs
746,799.20 µs
(91.99%)
tests/benchmarks/test_big_array.py::test_big_array_compile📈 view plot
🚷 view threshold
1,858,878.76 µs
(-1.19%)Baseline: 1,881,300.50 µs
1,975,365.53 µs
(94.10%)
tests/benchmarks/test_big_array.py::test_big_array_executable📈 view plot
🚷 view threshold
8,004,050.57 µs
(-0.30%)Baseline: 8,028,527.51 µs
8,429,953.88 µs
(94.95%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_check📈 view plot
🚷 view threshold
48,499.73 µs
(-59.00%)Baseline: 118,277.79 µs
124,191.68 µs
(39.05%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile📈 view plot
🚷 view threshold
104,068.52 µs
(-5.26%)Baseline: 109,843.83 µs
115,336.02 µs
(90.23%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_executable📈 view plot
🚷 view threshold
589,720.50 µs
(-2.16%)Baseline: 602,766.59 µs
632,904.92 µs
(93.18%)
tests/benchmarks/test_prelude.py::test_import_guppy📈 view plot
🚷 view threshold
52.36 µs
(-6.68%)Baseline: 56.11 µs
58.91 µs
(88.87%)
🐰 View full continuous benchmarking report in Bencher

@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.43%. Comparing base (fe49819) to head (66cbec4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1513   +/-   ##
=======================================
  Coverage   93.42%   93.43%           
=======================================
  Files         128      128           
  Lines       12022    12026    +4     
=======================================
+ Hits        11232    11236    +4     
  Misses        790      790           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Contributor

🐰 Bencher Report

Branchacl/inline_metadata
TestbedLinux
Click to view all benchmark results
Benchmarkhugr_bytesBenchmark Result
bytes x 1e3
(Result Δ%)
Upper Boundary
bytes x 1e3
(Limit %)
hugr_nodesBenchmark Result
nodes
(Result Δ%)
Upper Boundary
nodes
(Limit %)
tests/benchmarks/test_big_array.py::test_big_array_compile📈 view plot
🚷 view threshold
141.79 x 1e3
(0.00%)Baseline: 141.79 x 1e3
143.21 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
6,620.00
(0.00%)Baseline: 6,620.00
6,686.20
(99.01%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile📈 view plot
🚷 view threshold
17.57 x 1e3
(0.00%)Baseline: 17.57 x 1e3
17.75 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
581.00
(0.00%)Baseline: 581.00
586.81
(99.01%)
🐰 View full continuous benchmarking report in Bencher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inlining annotations

2 participants