Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pythonprofilers/memory_profiler
/ test_1
Function
test_1
test/test_nested.py:6–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
5
@profile
6
def
test_1():
7
a = [1] * (10 ** 6)
8
b = [2] * (2 * 10 ** 7)
9
del b
10
11
def
test_2():
12
a = [1] * (10 ** 6)
13
b = [2] * (2 * 10 ** 7)
14
del b
15
16
return
a
17
18
return
test_2
19
20
21
if
__name__ ==
'__main__'
:
Callers
1
test_nested.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected