File: test_func.py

package info (click to toggle)
python-memory-profiler 0.52-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 296 kB
  • sloc: python: 1,628; makefile: 30
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)