Opened 12 years ago
Closed 12 years ago
#19523 closed Cleanup/optimization (fixed)
improve performance of django's bash completion
Reported by: | Raphaël Hertzog | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | andersk@…, luke@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In http://bugs.debian.org/695811 Anders Kaseorg <andersk@…> reported that the usage of the basename command was severly impacting the performances of Django's bash completion script.
The attached patch gets rid of "basename" in favor of some bash internal pattern substitution and improves the perfornance by a factor of 5 according to its author.
Attachments (1)
Change History (5)
by , 12 years ago
comment:1 by , 12 years ago
Cc: | added |
---|
comment:2 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 12 years ago
Component: | Uncategorized → Core (Management commands) |
---|
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch to get rid of basename in Django's bash completion