addok/shell.py
def do_BENCH(self, query):
        """Run a search many times to benchmark it.
        BENCH [100] rue des Lilas"""
        try:
            count = int(re.match(r'^(\d+).*', query).group(1))
        except AttributeError:
            count = 100
        self._search(query, count=count)
def do_BENCH(self, query):
        """Run a search many times to benchmark it.
        BENCH [100] rue des Lilas"""
        try:
            count = int(re.match(r'^(\d+).*', query).group(1))
        except AttributeError:
            count = 100
        self._search(query, count=count)
def do_BENCH ( self , query ) : try : count = int ( re . match ( r'^(\d+).*' , query ) . group ( 1 ) ) except AttributeError : count = 100 self . _search ( query , count = count )
Run a search many times to benchmark it.
        BENCH [100] rue des Lilas
Run a search many times to benchmark it . BENCH [ 100 ] rue des Lilas