

def bench3(n):
    'Benchmark Key creation with parent.'
    p = key.Key('Foo', 42, 'Bar', 1)
    for _ in xrange(p):
        key.Key('Hopla', 'lala', parent=p)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/tests/keybench.py bench3/VarMisuse@32/49 `n`->`p`