def performance_test(num=None):
    """ Run test for the given data to test system performance. 
        (This is used for developing optimisations)
    """
    if not num:
        num = 5000
    from timeit import Timer
    t = Timer("test(%s)" % num, "from __main__ import test")
    print t.timeit(number=1)
dataset/ETHPy150Open willhardy/Roll-Your-Own/rollyourown/commerce/utils/friendly_id.py/performance_test/original