You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out telemetry is loading all CLI commands which undermine the effort done in kedro-org/kedro#3883.
Impact
CLI is slow because telemetry always load all the commands.
Description
At first glance, the recursive call does not seems to be necessary as it collects the entire CLI but they are not consume by telemetry later. Maybe all we need is the related command group. 1. is a small comment but we should check telemetry would work consistently for package mode as well.
project_path is not arbitary as it affects the result of recursive call
merelcht
changed the title
kedro-telemetry: remove recursive logic to avoid eagerly load commandskedro-telemetry: remove recursive logic to avoid eagerly load commands
Aug 27, 2024
Context
I found out telemetry is loading all CLI commands which undermine the effort done in kedro-org/kedro#3883.
Impact
CLI is slow because telemetry always load all the commands.
Description
At first glance, the recursive call does not seems to be necessary as it collects the entire CLI but they are not consume by telemetry later. Maybe all we need is the related command group. 1. is a small comment but we should check telemetry would work consistently for package mode as well.
The text was updated successfully, but these errors were encountered: