[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Parallel Bug Reports Parallel is slower and results a bit differ
Re: GNU Parallel Bug Reports Parallel is slower and results a bit different
Fri, 24 Feb 2012 17:02:38 +0100
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
On 2/23/12 16:46, Jose Pablo Barrantes wrote:
> address@hidden time find . -name '*.el' | parallel ls -la | wc -l
> real 0m13.176s
> user 0m40.714s
> sys 0m16.039s
> as you can see, with parallel it's significantly slower and results are
> a bit different. I'm I doing something wrong?
Try passing the -X switch:
$ time (find . -name '*.h' | parallel -X ls -la | wc -l)
Still slower than xargs, though.