kedro-cmd
much faster than kedro cmd
, should plugins adopt the former?
#4036
astrojuanlu
started this conversation in
Idea
Replies: 1 comment
-
First thing affected will be telemetry data |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently @ankatiyar has been working on improving the startup performance of Kedro commands, see discussion at #1476
We discarded one of the solutions, which was lazy loading commands from plugins #3901 because we would lose the complete list of commands in
kedro --help
.On the other hand, @noklam's personal project,
kedro-inspect
, shows really good startup times, possibly because it's launched withkedro-inspect
rather thankedro inspect
. I can confirm from anecdotal evidence that it's the same for mykedro-init
.It's well known that CLIs in Python are slow in general:
https://peps.python.org/pep-0690/#motivation (rejected)
And maybe the part of Kedro that collects commands from entry points can't really be optimized any further.
As a first step, should we encourage plugins to support the
kedro-cmd
version on top of the currently availablekedro cmd
version?Beta Was this translation helpful? Give feedback.
All reactions