glocate

faster locate using grep
git clone https://a3nm.net/git/glocate/
Log | Files | Refs | README

commit ab03398b6e46de12a0a4be683ef3f88de574b5b6
parent c42507b2600b1b75b7905eaa8a0a5a14d39ace36
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 11 Mar 2015 01:50:13 +0100

bench

Diffstat:
bench/bench.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bench/bench.sh b/bench/bench.sh @@ -1,8 +1,8 @@ -#!/bin/bash +#!/usr/bin/zsh WORKLOAD="$1" -set -e +set -x for a in 1 2 3; do time sed 's/^/locate /' "$WORKLOAD" | sh > /dev/null; done for a in 1 2 3; do time sed 's/^/locate.findutils /' "$WORKLOAD" | sh > /dev/null; done