def test1(self):
        t0 = time.time()
        res = self.n.find_free_prefix({ 'schema_name': 'test-schema', 'from-prefix': ['1.0.0.0/8'] }, 32, 1)
        t1 = time.time()
        res = self.n.find_free_prefix({ 'schema_name': 'test-schema', 'from-prefix': ['1.0.0.0/8'] }, 32, 500)
        t2 = time.time()
        for prefix in res:
            self.n.add_prefix({ 'schema_name': 'test-schema', 'prefix': prefix, 'description': 'test' })
        t3 = time.time()
        res = self.n.find_free_prefix({ 'schema_name': 'test-schema', 'from-prefix': ['1.0.0.0/8'] }, 32, 1)
        t4 = time.time()
        d1 = t1-t0
        d2 = t2-t1
        d3 = t3-t2
        d4 = t4-t3
        d5 = d4-d1
        print "First find free prefix:", d1
        print "First find of 500 prefixes:", d2
        print "Adding 500 prefixes", d3
        print "Find one prefix after", d4
        print "Diff", d5
dataset/ETHPy150Open SpriteLink/NIPAP/tests/performance/speedtest.py/bonk.test1/original