Bug#695811: django_bash_completion slows down bash startup by calling /usr/bin/basename 44 times

2013-02-11 Thread Anders Kaseorg
On Wed, 26 Dec 2012, Raphaël Hertzog wrote: > For the second issue that you brought up, I would suggest to file > it directly upstream because I'm not sure of what you mean. Filed as https://code.djangoproject.com/ticket/19806. Anders -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.d

Bug#695811: django_bash_completion slows down bash startup by calling /usr/bin/basename 44 times

2012-12-26 Thread Raphael Hertzog
Control: forwarded -1 https://code.djangoproject.com/ticket/19523 On Wed, 12 Dec 2012, Anders Kaseorg wrote: > /etc/bash_completion.d/django_bash_completion takes about 150ms to source, > even on a warm cache, primarily because it forks+execs /usr/bin/basename > 44 times. This significantly slo

Bug#695811: django_bash_completion slows down bash startup by calling /usr/bin/basename 44 times

2012-12-20 Thread Anders Kaseorg
Actually, this script has another problem: it actually overrides and disables the completions provided for python by the bash-completion package at /usr/share/bash-completion/completions/python. I think that’s a really unfriendly thing to do, so I would propose that the second half of the scri

Bug#695811: django_bash_completion slows down bash startup by calling /usr/bin/basename 44 times

2012-12-12 Thread Anders Kaseorg
Package: python-django Version: 1.4.2-2 Tags: patch /etc/bash_completion.d/django_bash_completion takes about 150ms to source, even on a warm cache, primarily because it forks+execs /usr/bin/basename 44 times. This significantly slows down interactive logins. This patch makes it faster by a fa