forked from VimPlug/jedi
Add a nice and small profile script for Jedi.
This commit is contained in:
@@ -18,7 +18,7 @@ import jedi
|
||||
|
||||
def used_memory():
|
||||
"""Return the total MB of System Memory in use."""
|
||||
return psutil.virtual_memory().used / 2**20
|
||||
return psutil.virtual_memory().used / 2 ** 20
|
||||
|
||||
|
||||
def profile_preload(mod):
|
||||
|
||||
Reference in New Issue
Block a user