~ubuntu-branches/ubuntu/gutsy/slocate/gutsy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

i=0
inc=128

while :
do
    i=$(($i+$inc))
    echo "B: $i"
    time src/slocate -b $i >/dev/null
    echo "-------------"
    if [ $i -gt 16384 ] ; then
        break
    fi
    
done