Skip to content

chore: update to tket 0.15.2, turn on NormalizeGuppy optimizations#2004

Merged
acl-cqc merged 16 commits into
mainfrom
acl/chore/update-tket
Jul 13, 2026
Merged

chore: update to tket 0.15.2, turn on NormalizeGuppy optimizations#2004
acl-cqc merged 16 commits into
mainfrom
acl/chore/update-tket

Conversation

@acl-cqc

@acl-cqc acl-cqc commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

(i.e. Enable the parts of NormalizeGuppy that had previously been disabled)

@acl-cqc acl-cqc force-pushed the acl/chore/update-tket branch from 81a8f18 to 8e9b71e Compare July 6, 2026 17:12
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Branchacl/chore/update-tket
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
66.41 x 1e3
(-44.97%)Baseline: 120.67 x 1e3
121.87 x 1e3
(54.49%)
📈 view plot
🚷 view threshold
4,595.00
(-18.80%)Baseline: 5,659.00
5,715.59
(80.39%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile📈 view plot
🚷 view threshold
28.77 x 1e3
(-20.49%)Baseline: 36.19 x 1e3
36.55 x 1e3
(78.72%)
📈 view plot
🚷 view threshold
1,301.00
(-17.76%)Baseline: 1,582.00
1,597.82
(81.42%)
tests/benchmarks/test_queue_push_pop.py::test_queue_push_benchmark_compile📈 view plot
🚷 view threshold
7.84 x 1e3
(-21.24%)Baseline: 9.95 x 1e3
10.05 x 1e3
(77.98%)
📈 view plot
🚷 view threshold
310.00
(-10.66%)Baseline: 347.00
350.47
(88.45%)
tests/benchmarks/test_queue_push_pop.py::test_queue_push_pop_benchmark_compile📈 view plot
🚷 view threshold
10.77 x 1e3
(-23.62%)Baseline: 14.11 x 1e3
14.25 x 1e3
(75.62%)
📈 view plot
🚷 view threshold
411.00
(-12.55%)Baseline: 470.00
474.70
(86.58%)
🐰 View full continuous benchmarking report in Bencher

@codspeed-hq

codspeed-hq Bot commented Jul 8, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 51.61%

⚠️ 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

⚡ 4 improved benchmarks
✅ 7 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
test_queue_push_pop_benchmark 3.7 s 2.2 s +70.08%
test_circuit_comptime_compile 6.3 s 4 s +55.23%
test_queue_push_benchmark 2.6 s 1.7 s +53.19%
test_big_array_compile 20.1 s 15.4 s +30.64%

Tip

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


Comparing acl/chore/update-tket (a610ddf) with main (41e16b7)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (cc0977a) during the generation of this report, so 41e16b7 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@codecov-commenter

codecov-commenter commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.04%. Comparing base (5b0f2c8) to head (a610ddf).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2004      +/-   ##
==========================================
- Coverage   93.04%   93.04%   -0.01%     
==========================================
  Files         152      152              
  Lines       14642    14641       -1     
==========================================
- Hits        13623    13622       -1     
  Misses       1019     1019              

☔ 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.

@aborgna-q aborgna-q force-pushed the acl/chore/update-tket branch from a33b352 to 8c383b7 Compare July 9, 2026 16:48
@aborgna-q aborgna-q changed the title chore: update to (unreleased) tket, enable opts chore: update to tket 0.15.1, enable opts Jul 10, 2026
@aborgna-q aborgna-q marked this pull request as ready for review July 10, 2026 10:09
@aborgna-q aborgna-q requested a review from a team as a code owner July 10, 2026 10:09
@aborgna-q aborgna-q self-requested a review July 10, 2026 10:09
@aborgna-q aborgna-q linked an issue Jul 13, 2026 that may be closed by this pull request
12 tasks
@acl-cqc acl-cqc changed the title chore: update to tket 0.15.1, enable opts chore: update to tket 0.15.2, turn on NormalizeGuppy optimizations Jul 13, 2026
@acl-cqc acl-cqc added this pull request to the merge queue Jul 13, 2026
Merged via the queue into main with commit 4ae5b0b Jul 13, 2026
18 checks passed
@acl-cqc acl-cqc deleted the acl/chore/update-tket branch July 13, 2026 09:30
@aborgna-q aborgna-q added B-backport-nominated A PR (or an issue pending a PR) that is nominated for backporting to the previous minor series. B-backport-accepted A PR (or issue pending a PR) that has been accepted for backporting to the previous minor series. labels Jul 13, 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. B-backport-nominated A PR (or an issue pending a PR) that is nominated for backporting to the previous minor series.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable inline_dfgs Enable constant_folding Enable simplify_cfgs Enable resolve_modifiers [Tracking]: Enable missing passes in NormalizeGuppy

4 participants