Re: [dwm] dmenu-input

From: Rob Manea <rob.manea_AT_googlemail.com>
Date: Thu, 5 Oct 2006 13:25:03 +0200

On 10/5/06, Antoni Grzymala <antoni_AT_chopin.edu.pl> wrote:

> Looks useful. Did you try measuring how much faster (on a dry run) it is
> than running any shell oneliner (like the one provided by arg or any
> other one)?

$ time (IFS=:; for dir in $PATH; do for file in "$dir"/*; do [ -x
"$file" ] && echo ${file##*/} 1 > /dev/null; done; done)
0,35s user 0,16s system 98% cpu 0,518 total

$ time dmenu-input 1 > /dev/null
0,02s user 0,02s system 96% cpu 0,046 total

On a 1.3GHz PIII Mobile with XFS and a slooooow HDD...

Bye, Rob
Received on Thu Oct 05 2006 - 13:25:05 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:31:50 UTC