Skip to content

perf: Upgrade hugr to v0.18.6, tket to v0.15.8, qis-compiler to v0.4.3 - #2284

Merged
maximilianruesch merged 2 commits into
mainfrom
mr/perf/upgrade-toolchain
Sep 7, 2026
Merged

perf: Upgrade hugr to v0.18.6, tket to v0.15.8, qis-compiler to v0.4.3#2284
maximilianruesch merged 2 commits into
mainfrom
mr/perf/upgrade-toolchain

Conversation

@maximilianruesch

Copy link
Copy Markdown
Collaborator

Upgrades the toolchain across the board for some performance improvements.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectguppylang
Branchmr/perf/upgrade-toolchain
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
62.10 x 1e3
(0.00%)Baseline: 62.10 x 1e3
62.72 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
4,585.00
(0.00%)Baseline: 4,585.00
4,630.85
(99.01%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile📈 view plot
🚷 view threshold
27.80 x 1e3
(0.00%)Baseline: 27.80 x 1e3
28.08 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
1,301.00
(0.00%)Baseline: 1,301.00
1,314.01
(99.01%)
tests/benchmarks/test_queue_push_pop.py::test_queue_push_benchmark_compile📈 view plot
🚷 view threshold
7.24 x 1e3
(0.00%)Baseline: 7.24 x 1e3
7.32 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
310.00
(0.00%)Baseline: 310.00
313.10
(99.01%)
tests/benchmarks/test_queue_push_pop.py::test_queue_push_pop_benchmark_compile📈 view plot
🚷 view threshold
9.86 x 1e3
(0.00%)Baseline: 9.86 x 1e3
9.96 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
411.00
(0.00%)Baseline: 411.00
415.11
(99.01%)
🐰 View full continuous benchmarking report in Bencher

@maximilianruesch

Copy link
Copy Markdown
Collaborator Author

This still needs Quantinuum/selene#213 to run, which we also need to upgrade

@codspeed-hq

codspeed-hq Bot commented Sep 7, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 40.4%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 2 improved benchmarks
✅ 9 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
test_queue_push_pop_benchmark 4.4 s 3.1 s +40.97%
test_queue_push_benchmark 3.4 s 2.4 s +39.82%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing mr/perf/upgrade-toolchain (a46555e) with main (3560b6e)

Open in CodSpeed

@maximilianruesch maximilianruesch changed the title perf: Upgrade hugr to v0.18.6, tket to v0.15.8, qis-compiler to v0.5.0 perf: Upgrade hugr to v0.18.6 and tket to v0.15.8 Sep 7, 2026
@maximilianruesch maximilianruesch changed the title perf: Upgrade hugr to v0.18.6 and tket to v0.15.8 perf: Upgrade hugr to v0.18.6, tket to v0.15.8, qis-compiler to v0.4.3 Sep 7, 2026
@maximilianruesch
maximilianruesch marked this pull request as ready for review September 7, 2026 15:37
@maximilianruesch
maximilianruesch requested a review from a team as a code owner September 7, 2026 15:37
@maximilianruesch maximilianruesch added the B-backport-nominated A PR (or an issue pending a PR) that is nominated for backporting to the previous minor series. label Sep 7, 2026
@maximilianruesch maximilianruesch added this to the guppylang v1.1 milestone Sep 7, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.23%. Comparing base (3560b6e) to head (a46555e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2284   +/-   ##
=======================================
  Coverage   93.23%   93.23%           
=======================================
  Files         162      162           
  Lines       15824    15824           
=======================================
  Hits        14754    14754           
  Misses       1070     1070           

☔ View full report in Codecov by Harness.
📢 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.

@maximilianruesch
maximilianruesch added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit a511670 Sep 7, 2026
16 checks passed
@maximilianruesch
maximilianruesch deleted the mr/perf/upgrade-toolchain branch September 7, 2026 16:02
@maximilianruesch maximilianruesch added B-backport-accepted A PR (or issue pending a PR) that has been accepted for backporting to the previous minor series. and removed B-backport-nominated A PR (or an issue pending a PR) that is nominated for backporting to the previous minor series. labels Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-backport-accepted A PR (or issue pending a PR) that has been accepted for backporting to the previous minor series.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants