def profile_preload(mod):
    """Preload a module into Jedi, recording time and memory used."""
    base = used_memory()
    t0 = time.time()
    jedi.preload_module(mod)
    elapsed = t0 - time.time()
    used = used_memory() - base
    return elapsed, used
dataset/ETHPy150Open davidhalter/jedi/scripts/memory_check.py/profile_preload/swapped operands of `-`