Skip to content

Conversation

@kayjan
Copy link
Owner

@kayjan kayjan commented Oct 22, 2025

Description

Previously, the flag can only be toggled via env var before import. Now it can be toggled after import as it is a class variable

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 Oct 22, 2025
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

Benchmark suite Current: d81f314 Previous: f249e95 Ratio
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_10 18811.29543020142 iter/sec (stddev: 0.000004878258972654655) 19276.012254694026 iter/sec (stddev: 0.000007194882212445198) 1.02
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_100 440.20644009258973 iter/sec (stddev: 0.000051786450044296475) 458.8171780329479 iter/sec (stddev: 0.00013872918859105467) 1.04
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_1000 14.632119878511665 iter/sec (stddev: 0.00024669824224869) 14.155109168069206 iter/sec (stddev: 0.00026687772628070506) 0.97
tests/node/test_node_benchmark.py::test_node_benchmark_width_2_depth_10 89.89122236215945 iter/sec (stddev: 0.00019462364618957813) 88.85015338115527 iter/sec (stddev: 0.0002954324658704179) 0.99
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_10_no_assertions 47750.58912225388 iter/sec (stddev: 0.0000021792323881234525) 26271.12855342515 iter/sec (stddev: 0.000003626467836088443) 0.55
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_10_no_assertions_config 35300.32635196564 iter/sec (stddev: 0.000011063321988476908)
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_100_no_assertions 3173.133963211356 iter/sec (stddev: 0.0000026801468321626223) 2058.0311269153 iter/sec (stddev: 0.000024662611735807703) 0.65
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_100_no_assertions_config 3154.097038003639 iter/sec (stddev: 0.000014096951500409833)
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_1000_no_assertions 143.53113327711642 iter/sec (stddev: 0.00456958444745352) 105.94441112640959 iter/sec (stddev: 0.005267286567033429) 0.74
tests/node/test_node_benchmark.py::test_node_benchmark_width_1_depth_1000_no_assertions_config 287.0134026792739 iter/sec (stddev: 0.000021778818147881668)
tests/node/test_node_benchmark.py::test_node_benchmark_width_2_depth_10_no_assertions 211.970967099725 iter/sec (stddev: 0.00017323607022017498) 126.48484512338128 iter/sec (stddev: 0.000012647594728408522) 0.60
tests/node/test_node_benchmark.py::test_node_benchmark_width_2_depth_10_no_assertions_config 127.60895796763262 iter/sec (stddev: 0.004312160809550672)

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

@kayjan kayjan enabled auto-merge (squash) October 22, 2025 16:53
@kayjan kayjan disabled auto-merge October 22, 2025 16:53
@kayjan kayjan enabled auto-merge (squash) October 22, 2025 16:53
@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% (3117 / 3117) 100% (1132 / 1132) 0

@kayjan kayjan merged commit 82d3eb9 into master Oct 22, 2025
5 checks passed
@kayjan kayjan deleted the feature/config branch October 22, 2025 16:53
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.

2 participants