Skip to content

Construct tree from rich tree using Tree.from_rich#438

Merged
kayjan merged 33 commits intomasterfrom
feat/rich_to_tree
Feb 13, 2026
Merged

Construct tree from rich tree using Tree.from_rich#438
kayjan merged 33 commits intomasterfrom
feat/rich_to_tree

Conversation

@kayjan
Copy link
Owner

@kayjan kayjan commented Feb 13, 2026

Description

Testing

Additional notes

Checklist

I have read through the contributing guidelines and ensured that

  • I have added a descriptive title for this pull request.
  • I have followed the convention and standards, and my code is checked for style and correctness.
  • I have added test cases, and unit tests pass with 100% code coverage.
  • I have updated the documentation and code docstrings.

Checklist (for reviewer)

  • I have added label (breaking / enhancement / bug / documentation) to this pull request, if applicable.
  • I will ensure this change is captured in the CHANGELOG.md file.

@kayjan kayjan added the enhancement New feature or request label Feb 13, 2026
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Details
Benchmark suite Current: 6bcdc9f Previous: b6a4341 Ratio
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_10 19380.164208317674 iter/sec (stddev: 0.0000061250296499054106) 17794.63918712871 iter/sec (stddev: 0.000007972628957846553) 0.92
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_100 396.2952968249349 iter/sec (stddev: 0.000008764093578450101) 384.33979819777016 iter/sec (stddev: 0.00005871857137420451) 0.97
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_1000 14.669464576579397 iter/sec (stddev: 0.00012576367865163465) 14.435213033484521 iter/sec (stddev: 0.00007397051109161316) 0.98
tests/node/test_node_benchmark.py::test_node_benchmark_width_2_depth_10 88.98968216248885 iter/sec (stddev: 0.00012884079522893491) 84.07566646874837 iter/sec (stddev: 0.0004516003218979949) 0.94
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_10_no_assertions 45953.4537455528 iter/sec (stddev: 0.000003820568648762449) 42967.69259377739 iter/sec (stddev: 0.000003423103926075391) 0.94
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_10_no_assertions_config 34838.28937053743 iter/sec (stddev: 0.000014152247250751953) 33014.25060133761 iter/sec (stddev: 0.000015923266896244454) 0.95
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_100_no_assertions 3006.426537362413 iter/sec (stddev: 0.000005755990618657005) 2892.8430195790033 iter/sec (stddev: 0.0000015386643565593465) 0.96
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_100_no_assertions_config 2293.328661061063 iter/sec (stddev: 0.00014675110288884505) 1920.586992842363 iter/sec (stddev: 0.0002399857482856079) 0.84
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_1000_no_assertions 136.67617844028268 iter/sec (stddev: 0.004947480554675135) 107.24957870891357 iter/sec (stddev: 0.007168955502722881) 0.78
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_1000_no_assertions_config 250.1178086143194 iter/sec (stddev: 0.00018308232001967335) 232.67789289414316 iter/sec (stddev: 7.03712670590431e-7) 0.93
tests/node/test_node_benchmark.py::test_node_benchmark_width_2_depth_10_no_assertions 207.1014228789262 iter/sec (stddev: 0.00017585653724210167) 200.1843597861837 iter/sec (stddev: 0.000018176109099596636) 0.97
tests/node/test_node_benchmark.py::test_node_benchmark_width_2_depth_10_no_assertions_config 121.81751810097299 iter/sec (stddev: 0.005006611793567823) 103.16259639933202 iter/sec (stddev: 0.006851480255741169) 0.85

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link
Contributor

Code Coverage

Package Line Rate Branch Rate Complexity Health
bigtree 100% 100% 0
bigtree.binarytree 100% 100% 0
bigtree.dag 100% 100% 0
bigtree.node 100% 100% 0
bigtree.tree 100% 100% 0
bigtree.tree.construct 100% 100% 0
bigtree.tree.export 100% 100% 0
bigtree.utils 100% 100% 0
Summary 100% (3186 / 3186) 100% (1159 / 1160) 0

@kayjan kayjan merged commit 5e57623 into master Feb 13, 2026
5 checks passed
@kayjan kayjan deleted the feat/rich_to_tree branch February 13, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments