Introduce DerivationTree.find_subtrees#880
Merged
riesentoaster merged 2 commits intofandango-fuzzer:mainfrom Apr 1, 2026
Merged
Introduce DerivationTree.find_subtrees#880riesentoaster merged 2 commits intofandango-fuzzer:mainfrom
riesentoaster merged 2 commits intofandango-fuzzer:mainfrom
Conversation
|
| Branch | feat/tree.find_subtrees |
| Testbed | ubuntu-latest |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result milliseconds (ms) (Result Δ%) | Upper Boundary milliseconds (ms) (Limit %) |
|---|---|---|---|
| tests/test_benchmarks.py::test_generate_with_single_hard_constraint | 📈 view plot 🚷 view threshold | 2,035.68 ms(+14.33%)Baseline: 1,780.48 ms | 2,101.68 ms (96.86%) |
| tests/test_benchmarks.py::test_generate_with_single_soft_constraint | 📈 view plot 🚷 view threshold | 30,295.77 ms(-41.16%)Baseline: 51,490.84 ms | 79,369.26 ms (38.17%) |
| tests/test_benchmarks.py::test_init_fandango | 📈 view plot 🚷 view threshold | 152.39 ms(+1.48%)Baseline: 150.17 ms | 161.00 ms (94.65%) |
| tests/test_benchmarks.py::test_parse_spec | 📈 view plot 🚷 view threshold | 153.82 ms(+0.75%)Baseline: 152.68 ms | 159.90 ms (96.20%) |
alex9849
approved these changes
Apr 1, 2026
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.
Provides a Generator of subtrees with a certain nonterminal of a tree.
Deprecates undocumented, but publicly used
DerivationTree.find_all_trees, which internally just callsliston the new function. Generators are much more flexible, if you don't care about all entries, and can fast-cirquit failing constraints.