Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pythonprofilers/memory_profiler
/ my_func
Function
my_func
test/test_async.py:8–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
7
@profile
8
async
def
my_func():
9
a = [1] * (10 ** 6)
10
b = [2] * (2 * 10 ** 7)
11
await asyncio.sleep(1e-2)
12
del b
13
14
async
def
main():
15
task = asyncio.create_task(my_func())
Callers
2
main
Function · 0.70
main_legacy
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected