Comment 3 for bug 790043

Revision history for this message
Atanas Atanasov (thenasko) wrote :

Hi Bryce,

I should start by saying the execution time of bash-completion depends a lot of the amount of software installed in any particular computer. I posted the this bug based on my experience with a laptop which I no longer have. While the machine was older its specs weren't very bad -- AMD Turion X2 1.8GHz dual core, 2 GB RAM. I just tested bash-completion on a small server with similar specifications but far less software installed. Here are the stats.

nasko@chow:~$ time bash /etc/bash_completion

real 0m0.787s
user 0m0.632s
sys 0m0.148s

nasko@chow:~$ time bash empty_script
bash: exit: No such file or directory

real 0m0.007s
user 0m0.008s
sys 0m0.000s

The difference in real execution time is almost 0.8s.