loads lots of modules in top-level of cmds module

Bug #903650 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
Medium
Jelmer Vernooij

Bug Description

bzr-builddeb loads lots of modules in the top-level of cmds.py.

This means that code that introspects commands like "bzr bash-completion" loads these modules as well, and slows them down.

Ideally, the modules should be lazily imported, or imported locally in the commands.

Tags: performance

Related branches

Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: Triaged → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
milestone: none → 2.8.1
status: In Progress → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.