def main():

    # Parse arguments and configure application instance.
    arguments, parser = parse_arguments()

    # Start iterating
    store = RevisionStore()
    sys.stdout.write("Iterating over %d items.\n" % arguments.number)

    for i in xrange(arguments.number):
        key = chr(65 + (i % 26))
        value = [key * (i % 26), key * (i % 13), key * (i % 5)]

        store.add(key, value)

    # Wait for an enter
    if arguments.pause:
        sys.stdout.write("Done!")
        sys.stdin.readline()

# E.g. `python benchmark_store.py [-n <items>] [-p]`
Run a benchmark for N items. If N is not specified, take 1,000,000 for N.
dataset/ETHPy150Open basilfx/flask-daapserver/utils/benchmark_store.py/main