Re: [dwm] dmenu-2.4

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Fri, 23 Feb 2007 14:34:05 +0100

On Fri, Feb 23, 2007 at 01:11:03PM +0000, Frederik Deweerdt wrote:
> On Fri, Feb 23, 2007 at 10:50:16AM +0100, Anselm R. Garbe wrote:
> > I did some benchmarks measuring the difference between
> > dmenu_path [...]
> Hi,
>
> On my system, this:
> for i in `echo $PATH | tr : ' '`; do find $i -maxdepth 1 -perm -100 -type f 2> /dev/null ; done | sort -u
> performs slightly better (~10%) than the ls | awk based approach. I made
> the measurements without cache (echo 3 > /proc/sys/vm/drop_caches).

One remark, your construct is not equivalent to what dmenu_path
does, because it does not suppress the directories for me...

Regards,

-- 
 Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Received on Fri Feb 23 2007 - 14:34:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:38:08 UTC