File: test_func.py

package info (click to toggle)
python-memory-profiler 0.61-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 540 kB
  • sloc: python: 2,220; makefile: 33
file content (11 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11

@profile
def test_1(i):
    # .. will be called twice ..
    c = {}
    for i in range(i):
        c[i] = 2

if __name__ == '__main__':
    test_1(10)
    test_1(10000)