def copy_keys(dic, *keys):
    ret = {}
    for key in keys:
        ret[key] = dic[key]   # Raises KeyError.
    return ret
Wrap the application in a component that will profile each
dataset/ETHPy150Open mikeorr/WebHelpers2/webhelpers2/containers.py/copy_keys--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/debug/profile.py/make_profile_middleware