def determine_key_count(self):
        count = None
        for p in range(14, 19):
            start = _time.time()
            self.insert_strings(2**p)
            elapsed = _time.time() - start
            if elapsed > 10:
                count = 2**p
                break
        self.delete(2**p)
        if count is None:
            count = 2**19
        return count
dataset/ETHPy150Open p/redis-dump-load/tests/big_data.py/BigData.determine_key_count/original