chore: update to tket 0.15.2, turn on NormalizeGuppy optimizations#2004
Merged
Conversation
81a8f18 to
8e9b71e
Compare
Contributor
|
| Branch | acl/chore/update-tket |
| Testbed | Linux |
Click to view all benchmark results
| Benchmark | hugr_bytes | Benchmark Result bytes x 1e3 (Result Δ%) | Upper Boundary bytes x 1e3 (Limit %) | hugr_nodes | Benchmark 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%) |
Merging this PR will improve performance by 51.61%
|
| 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
Footnotes
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
a33b352 to
8c383b7
Compare
aborgna-q
approved these changes
Jul 10, 2026
This was
linked to
issues
Jul 13, 2026
Closed
Closed
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(i.e. Enable the parts of NormalizeGuppy that had previously been disabled)