out of curiosity (I work on benchmarks and validation now :-) I ran this on my core i7 laptop with conventional hard drive running natty I get those results:
Before applying the patch:
time for i in `seq 1 100`; do ./command-not-found emacx >/dev/null 2>&1 ; done
real 0m34.707s
user 0m28.990s
sys 0m5.080s
After applying the patch:
time for i in `seq 1 100`; do ./command-not-found emacx >/dev/null 2>&1 ; done
out of curiosity (I work on benchmarks and validation now :-) I ran this on my core i7 laptop with conventional hard drive running natty I get those results:
Before applying the patch:
time for i in `seq 1 100`; do ./command-not-found emacx >/dev/null 2>&1 ; done
real 0m34.707s
user 0m28.990s
sys 0m5.080s
After applying the patch:
time for i in `seq 1 100`; do ./command-not-found emacx >/dev/null 2>&1 ; done
real 0m15.366s
user 0m10.860s
sys 0m3.940s
Essentially 226% faster, wow :-)