Re: Bash-4.0-rc1 available for FTP

2009-02-02 Thread Nicolas
bash_completion is too slow because it does strange things: it parses itself because it wants to emulate the behavior of "-o plusdirs". See https://bugzilla.redhat.com/show_bug.cgi?id=479936 for a preliminary patch. Thanks for pointing this out. This would indeed be a significant improvement!

Re: Bash-4.0-rc1 available for FTP

2009-02-02 Thread Dan Nicolaescu
Nicolas writes: > Hello, > > I ran some benchmarks of Bash 4.0-rc1. It is quite impressive! Here are the > results. > My computer is a Pentium M (running at 600 MHz for the test), running Linux > 2.6.26 with libc6 version 2.7 and Debian bash-completion version 20080705. > The figur

Re: Bash-4.0-rc1 available for FTP

2009-01-31 Thread Nicolas
> Bash versions other than `release' are built with extensive extra arena > and allocation checking enabled in the bash malloc. Thanks for pointing this out. Here are the new results: Bash 4.0, with bash malloc: * eval `dircolors`: 0.138s * source /etc/bash_completion: 0.735s Bash 4.0, withou

Re: Bash-4.0-rc1 available for FTP

2009-01-31 Thread Chet Ramey
Nicolas wrote: > Hello, > > I ran some benchmarks of Bash 4.0-rc1. It is quite impressive! Here are the > results. Thanks. > Bash 4.0, with bash malloc: > * eval `dircolors`: 0.385s > * source /etc/bash_completion: 41.651s (around 93% of the time is spent in > function find_entry of lib/malloc

Re: Bash-4.0-rc1 available for FTP

2009-01-31 Thread Nicolas
Hello, I ran some benchmarks of Bash 4.0-rc1. It is quite impressive! Here are the results. My computer is a Pentium M (running at 600 MHz for the test), running Linux 2.6.26 with libc6 version 2.7 and Debian bash-completion version 20080705. The figures are averages over 100 tests. Bash 3.2, wit

Re: Bash-4.0-rc1 available for FTP

2009-01-12 Thread Matthew Woehlke
Chet Ramey wrote: Matthew Woehlke wrote: Chet Ramey wrote: f. Changed behavior so the shell now acts as if it received an interrupt when a pipeline is killed by SIGINT while executing a list. Does this mean that $ sleep 60 ; do-something ...will no longer run 'do-something' when ctrl-C'd?

Re: Bash-4.0-rc1 available for FTP

2009-01-12 Thread Chet Ramey
Matthew Woehlke wrote: > Chet Ramey wrote: >> f. Changed behavior so the shell now acts as if it received an interrupt >> when a pipeline is killed by SIGINT while executing a list. > > Does this mean that > $ sleep 60 ; do-something > ...will no longer run 'do-something' when ctrl-C'd? Yes.

Re: Bash-4.0-rc1 available for FTP

2009-01-12 Thread Matthew Woehlke
Chet Ramey wrote: f. Changed behavior so the shell now acts as if it received an interrupt when a pipeline is killed by SIGINT while executing a list. Does this mean that $ sleep 60 ; do-something ...will no longer run 'do-something' when ctrl-C'd? -- Matthew Please do not quote my e-mail

Bash-4.0-rc1 available for FTP

2009-01-12 Thread Chet Ramey
The first public release candidate of bash-4.0 is now available with the URL ftp://ftp.cwru.edu/pub/bash/bash-4.0-rc1.tar.gz This tar file does not include the formatted documentation (you should be able to generate it yourself). This release fixes the remaining serious bugs in the bash version