A Python tool to enforce dependencies, using modular architecture π Open source π Installable via pip π§ Able to be adopted incrementally - β‘ Implemented with no runtime impact βΎοΈ Interoperable with your existing systems π¦ Written in rust
Profiling showed that we were incurring startup latency of:
~100ms for networkx
~80ms for git-python
~80ms for prompt-toolkit
This PR moves these imports so that they are local to the codepaths which actually use them. This means for example that tach check doesn't spend time loading git-python or prompt-toolkit, and only optionally pulls in networkx for cycle detection.
Profiling showed that we were incurring startup latency of:
This PR moves these imports so that they are local to the codepaths which actually use them. This means for example that
tach check
doesn't spend time loading git-python or prompt-toolkit, and only optionally pulls in networkx for cycle detection.