Open rasa opened 1 day ago
It would be interesting to see how much difference it makes if you replace the calls with hard coded values (i.e. the optimal case)?
In an iSH emulation environment, running a simple yadm command can take 45+ seconds with auto-alt and auto-perms enabled, and 7.5 seconds when they're disabled.
I will explore how this can be sped up.
https://github.com/yadm-dev/yadm/pull/466 should help when auto-alt is enabled.
Is your feature request related to a problem? Please describe.
yadm can be slow on slower systems.
Describe the solution you'd like
Cache expensive git calls.
Additional context
When I run
yadm commit
on my system, these are the commands that are run, and how often (found usingGIT_TRACE=1
):The results of at least the
git config
commands can be cached to speed things up, yes?If you are open to this enhancement, I will draft a PR for your review.